Skip to content

Commit

Permalink
chore: bump sqlglot 20.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tekumara committed Jan 1, 2024
1 parent d939b43 commit 6963493
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies = [
"duckdb~=0.9.2",
"pyarrow",
"snowflake-connector-python",
"sqlglot~=20.4.0",
"sqlglot~=20.5.0",
]

[project.urls]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def test_timestamp_ntz_ns() -> None:
def test_to_date() -> None:
assert (
sqlglot.parse_one("SELECT to_date(to_timestamp(0))").transform(to_date).sql()
== "SELECT CAST(DATE_TRUNC('day', TO_TIMESTAMP(0)) AS DATE)"
== "SELECT CAST(DATE_TRUNC('DAY', TO_TIMESTAMP(0)) AS DATE)"
)


Expand Down

0 comments on commit 6963493

Please sign in to comment.