Skip to content

Commit 9c7bd13

Browse files
committed
Chore!: bump sqlglot to v26.17.1
1 parent ab09f9b commit 9c7bd13

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

examples/sushi/models/marketing.sql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,5 @@ FROM
2020
customer_id: 'int',
2121
status: 'text',
2222
updated_at: 'timestamp',
23-
valid_from: 'timestamp',
24-
valid_to: 'timestamp',
2523
}
2624
)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies = [
2121
"requests",
2222
"rich[jupyter]",
2323
"ruamel.yaml",
24-
"sqlglot[rs]~=26.16.3",
24+
"sqlglot[rs]~=26.17.1",
2525
"tenacity",
2626
"time-machine",
2727
"json-stream"

tests/core/test_model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,15 +250,15 @@ def test_model_union_query(sushi_context, assert_exp_eq):
250250
"""SELECT
251251
CAST("marketing"."customer_id" AS INT) AS "customer_id",
252252
CAST("marketing"."status" AS TEXT) AS "status",
253-
CAST("marketing"."updated_at" AS TIMESTAMP) AS "updated_at",
253+
CAST("marketing"."updated_at" AS TIMESTAMPNTZ) AS "updated_at",
254254
CAST("marketing"."valid_from" AS TIMESTAMP) AS "valid_from",
255255
CAST("marketing"."valid_to" AS TIMESTAMP) AS "valid_to"
256256
FROM "memory"."sushi"."marketing" AS "marketing"
257257
UNION ALL
258258
SELECT
259259
CAST("marketing"."customer_id" AS INT) AS "customer_id",
260260
CAST("marketing"."status" AS TEXT) AS "status",
261-
CAST("marketing"."updated_at" AS TIMESTAMP) AS "updated_at",
261+
CAST("marketing"."updated_at" AS TIMESTAMPNTZ) AS "updated_at",
262262
CAST("marketing"."valid_from" AS TIMESTAMP) AS "valid_from",
263263
CAST("marketing"."valid_to" AS TIMESTAMP) AS "valid_to"
264264
FROM "memory"."sushi"."marketing" AS "marketing"

0 commit comments

Comments
 (0)