diff --git a/go.mod b/go.mod index c0287e53363..e6c13a020b4 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/go.sum b/go.sum index 796b79d3a25..d6ed77ae29b 100644 --- a/go.sum +++ b/go.sum @@ -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= diff --git a/runtime/controller_test.go b/runtime/controller_test.go index e0d45ceb049..85206a67b14 100644 --- a/runtime/controller_test.go +++ b/runtime/controller_test.go @@ -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.