Skip to content

Commit 5285753

Browse files
authored
Chore!: bump sqlglot to v26.24.0 (#4598)
1 parent 9326a3c commit 5285753

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dependencies = [
2222
"requests",
2323
"rich[jupyter]",
2424
"ruamel.yaml",
25-
"sqlglot[rs]~=26.21.0",
25+
"sqlglot[rs]~=26.24.0",
2626
"tenacity",
2727
"time-machine",
2828
"json-stream"

tests/core/engine_adapter/test_trino.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,8 +442,8 @@ def test_table_format(trino_mocked_engine_adapter: TrinoEngineAdapter, mocker: M
442442
# rather than explicitly telling it to create an Iceberg table. So this is testing that `FORMAT='ORC'` is output
443443
# instead of `FORMAT='ICEBERG'` which would be invalid
444444
assert to_sql_calls(adapter) == [
445-
'CREATE TABLE IF NOT EXISTS "iceberg"."test_table" ("cola" TIMESTAMP, "colb" VARCHAR, "colc" VARCHAR) WITH (FORMAT=\'ORC\')',
446-
'CREATE TABLE IF NOT EXISTS "iceberg"."test_table" WITH (FORMAT=\'ORC\') AS SELECT CAST("cola" AS TIMESTAMP) AS "cola", CAST("colb" AS VARCHAR) AS "colb", CAST("colc" AS VARCHAR) AS "colc" FROM (SELECT CAST(1 AS TIMESTAMP) AS "cola", CAST(2 AS VARCHAR) AS "colb", \'foo\' AS "colc") AS "_subquery"',
445+
"""CREATE TABLE IF NOT EXISTS "iceberg"."test_table" ("cola" TIMESTAMP, "colb" VARCHAR, "colc" VARCHAR) WITH (format='orc')""",
446+
'''CREATE TABLE IF NOT EXISTS "iceberg"."test_table" WITH (format='orc') AS SELECT CAST("cola" AS TIMESTAMP) AS "cola", CAST("colb" AS VARCHAR) AS "colb", CAST("colc" AS VARCHAR) AS "colc" FROM (SELECT CAST(1 AS TIMESTAMP) AS "cola", CAST(2 AS VARCHAR) AS "colb", \'foo\' AS "colc") AS "_subquery"''',
447447
]
448448

449449

0 commit comments

Comments
 (0)