Skip to content

Commit

Permalink
Upgrade to DuckDB 0.10.2 (#4925)
Browse files Browse the repository at this point in the history
* Upgrade to DuckDB 0.10.2

* Fix test
  • Loading branch information
begelundmuller committed May 21, 2024
1 parent 4f6f3de commit 2c93012
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ require (
github.com/joho/godotenv v1.5.1
github.com/kelseyhightower/envconfig v1.4.0
github.com/lensesio/tableprinter v0.0.0-20201125135848-89e81fc956e7
github.com/marcboeker/go-duckdb v1.6.2
github.com/marcboeker/go-duckdb v1.6.4
github.com/mazznoer/csscolorparser v0.1.3
github.com/mitchellh/mapstructure v1.5.0
github.com/pingcap/tidb/pkg/parser v0.0.0-20231124053542-069631e2ecfe
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1677,8 +1677,8 @@ github.com/mailru/easyjson v0.7.0/go.mod h1:KAzv3t3aY1NaHWoQz1+4F1ccyAH66Jk7yos7
github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
github.com/marcboeker/go-duckdb v1.6.2 h1:BlsvrL5dFmTSOCmLG3iLTCaGgH/typTOwgfrE/IrCdI=
github.com/marcboeker/go-duckdb v1.6.2/go.mod h1:WtWeqqhZoTke/Nbd7V9lnBx7I2/A/q0SAq/urGzPCMs=
github.com/marcboeker/go-duckdb v1.6.4 h1:p7iFopIcIWoHZStQhvQ+ffhKL3ExM/oXdXAUI62gBWE=
github.com/marcboeker/go-duckdb v1.6.4/go.mod h1:WtWeqqhZoTke/Nbd7V9lnBx7I2/A/q0SAq/urGzPCMs=
github.com/marstr/guid v1.1.0/go.mod h1:74gB1z2wpxxInTG6yaqA7KrtM0NZ+RbrcqDvYHefzho=
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ=
Expand Down
4 changes: 2 additions & 2 deletions runtime/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -528,11 +528,11 @@ path: data/foo.csv

// Update model to have a CTE with alias same as the source
testruntime.PutFiles(t, rt, id, map[string]string{
"/models/bar.sql": `with foo as (select * from foo) select * from foo`,
"/models/bar.sql": `with foo as (select * from memory.foo) select * from foo`,
})
testruntime.ReconcileParserAndWait(t, rt, id)
testruntime.RequireReconcileState(t, rt, id, 3, 0, 0)
model.Spec.InputProperties = must(structpb.NewStruct(map[string]any{"sql": `with foo as (select * from foo) select * from foo`}))
model.Spec.InputProperties = must(structpb.NewStruct(map[string]any{"sql": `with foo as (select * from memory.foo) select * from foo`}))
modelRes.Meta.Refs = []*runtimev1.ResourceName{}
testruntime.RequireResource(t, rt, id, modelRes)
// Refs are removed but the model is valid.
Expand Down

0 comments on commit 2c93012

Please sign in to comment.