Skip to content

Commit

Permalink
Chore!: bump sqlglot to v25.17.0 (#3048)
Browse files Browse the repository at this point in the history
  • Loading branch information
georgesittas authored Aug 26, 2024
1 parent c5cc84d commit d24fe29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"requests",
"rich[jupyter]",
"ruamel.yaml",
"sqlglot[rs]~=25.15.0",
"sqlglot[rs]~=25.17.0",
],
extras_require={
"bigquery": [
Expand Down
2 changes: 1 addition & 1 deletion tests/core/test_audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ def test_condition_with_macro_var(model: Model):
)
assert (
rendered_query.sql(dialect="duckdb")
== """SELECT * FROM (SELECT * FROM "db"."test_model" AS "test_model" WHERE "ds" BETWEEN '1970-01-01' AND '1970-01-01') AS "_q_0" WHERE "x" IS NULL AND "dt" BETWEEN CAST('1970-01-01 00:00:00+00:00' AS TIMESTAMP) AND CAST('1970-01-01 23:59:59.999999+00:00' AS TIMESTAMP)"""
== """SELECT * FROM (SELECT * FROM "db"."test_model" AS "test_model" WHERE "ds" BETWEEN '1970-01-01' AND '1970-01-01') AS "_q_0" WHERE "x" IS NULL AND "dt" BETWEEN CAST('1970-01-01 00:00:00+00:00' AS TIMESTAMPTZ) AND CAST('1970-01-01 23:59:59.999999+00:00' AS TIMESTAMPTZ)"""
)


Expand Down

0 comments on commit d24fe29

Please sign in to comment.