Skip to content

Commit

Permalink
fix(deps): update dependency sqlglot to >=23.4,<23.17 (#9209)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Phillip Cloud <[email protected]>
  • Loading branch information
renovate[bot] and cpcloud authored May 19, 2024
1 parent ac1dd54 commit 82a5f93
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
SELECT
SHA(CAST('74657374' AS BYTES FORMAT 'HEX')) AS `tmp`
SHA1(CAST('74657374' AS BYTES FORMAT 'HEX')) AS `tmp`
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
SELECT
SHA('test') AS `tmp`
SHA1('test') AS `tmp`
2 changes: 1 addition & 1 deletion ibis/backends/datafusion/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def visit_StandardDev(self, op, *, arg, how, where):
def visit_ScalarUDF(self, op, **kw):
input_type = op.__input_type__
if input_type in (InputType.PYARROW, InputType.BUILTIN):
return self.f[op.__func_name__](*kw.values())
return self.f.anon[op.__func_name__](*kw.values())
else:
raise NotImplementedError(
f"DataFusion only supports PyArrow UDFs: got a {input_type.name.lower()} UDF"
Expand Down
2 changes: 1 addition & 1 deletion ibis/backends/mssql/tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
("NUMERIC(14,3)", dt.Decimal(14, 3)),
("SMALLINT", dt.int16),
("SMALLMONEY", dt.Decimal(10, 4)),
("TINYINT", dt.int8),
("TINYINT", dt.uint8),
# Approximate numerics
("REAL", dt.float32),
("FLOAT", dt.float64),
Expand Down
12 changes: 6 additions & 6 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 @@ -47,7 +47,7 @@ pyarrow-hotfix = ">=0.4,<1"
python-dateutil = ">=2.8.2,<3"
pytz = ">=2022.7"
rich = ">=12.4.4,<14"
sqlglot = ">=23.4,<23.15"
sqlglot = ">=23.4,<23.17"
toolz = ">=0.11,<1"
typing-extensions = ">=4.3.0,<5"
black = { version = ">=22.1.0,<25", 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 @@ -275,7 +275,7 @@ sortedcontainers==2.4.0 ; python_version >= "3.9" and python_version < "4.0"
soupsieve==2.5 ; python_version >= "3.10" and python_version < "3.13"
sphobjinv==2.3.1 ; python_version >= "3.10" and python_version < "3.13"
sqlalchemy==2.0.30 ; python_version >= "3.10" and python_version < "3.13"
sqlglot==23.14.0 ; python_version >= "3.9" and python_version < "4.0"
sqlglot==23.16.0 ; python_version >= "3.9" and python_version < "4.0"
stack-data==0.6.3 ; python_version >= "3.9" and python_version < "4.0"
statsmodels==0.14.2 ; python_version >= "3.10" and python_version < "3.13"
stdlib-list==0.10.0 ; python_version >= "3.9" and python_version < "4.0"
Expand Down

0 comments on commit 82a5f93

Please sign in to comment.