Skip to content

Commit

Permalink
fix(deps): update dependency sqlglot to >=23.4,<25.20 (ibis-project#1…
Browse files Browse the repository at this point in the history
…0010)

Co-authored-by: Phillip Cloud <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] and cpcloud authored Sep 5, 2024
1 parent 5d6843d commit ba07da7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 11 deletions.
4 changes: 1 addition & 3 deletions ibis/backends/sql/compilers/trino.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,7 @@ def visit_UnwrapJSONBoolean(self, op, *, arg):
)

def visit_DayOfWeekIndex(self, op, *, arg):
return self.cast(
sge.paren(self.f.day_of_week(arg) + 6, copy=False) % 7, op.dtype
)
return self.cast(sge.paren(self.f.anon.dow(arg) + 6, copy=False) % 7, op.dtype)

def visit_DayOfWeekName(self, op, *, arg):
return self.f.date_format(arg, "%W")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SELECT
COUNT(*) AS [CountStar()]
COUNT_BIG(*) AS [CountStar()]
FROM (
SELECT
[t0].[b]
Expand Down
10 changes: 5 additions & 5 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ atpublic = ">=2.3,<6"
parsy = ">=2,<3"
python-dateutil = ">=2.8.2,<3"
pytz = ">=2022.7"
sqlglot = ">=23.4,<25.19"
sqlglot = ">=23.4,<25.20"
toolz = ">=0.11,<1"
typing-extensions = ">=4.3.0,<5"
numpy = { version = ">=1.23.2,<3", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ sortedcontainers==2.4.0 ; python_version >= "3.10" and python_version < "4.0"
soupsieve==2.6 ; python_version >= "3.10" and python_version < "3.13"
sphobjinv==2.3.1.1 ; python_version >= "3.10" and python_version < "3.13"
sqlalchemy==2.0.32 ; python_version >= "3.10" and python_version < "3.13"
sqlglot==25.18.0 ; python_version >= "3.10" and python_version < "4.0"
sqlglot==25.19.0 ; python_version >= "3.10" and python_version < "4.0"
stack-data==0.6.3 ; python_version >= "3.10" and python_version < "4.0"
statsmodels==0.14.2 ; python_version >= "3.10" and python_version < "3.13"
tabulate==0.9.0 ; python_version >= "3.10" and python_version < "3.13"
Expand Down

0 comments on commit ba07da7

Please sign in to comment.