Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency sqlglot to >=23.4,<23.17 #9209

Merged
merged 5 commits into from
May 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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