diff --git a/ibis/backends/duckdb/__init__.py b/ibis/backends/duckdb/__init__.py index 64253fda183a..6e497dbb294b 100644 --- a/ibis/backends/duckdb/__init__.py +++ b/ibis/backends/duckdb/__init__.py @@ -493,7 +493,7 @@ def _load_extensions( ) -> None: f = self.compiler.f query = ( - sg.select(f.unnest(f.list_append(C.aliases, C.extension_name))) + sg.select(f.anon.unnest(f.list_append(C.aliases, C.extension_name))) .from_(f.duckdb_extensions()) .where(sg.and_(C.installed, C.loaded)) ) diff --git a/poetry.lock b/poetry.lock index bd46b594c090..c7f8437c1a6c 100644 --- a/poetry.lock +++ b/poetry.lock @@ -6744,18 +6744,18 @@ sqlcipher = ["sqlcipher3_binary"] [[package]] name = "sqlglot" -version = "25.0.3" +version = "25.1.0" description = "An easily customizable SQL parser and transpiler" optional = false python-versions = ">=3.7" files = [ - {file = "sqlglot-25.0.3-py3-none-any.whl", hash = "sha256:810dedc451e2d4e947effe50eeb6a5e85a6f624053086bb77d0228a45b78e0b7"}, - {file = "sqlglot-25.0.3.tar.gz", hash = "sha256:84bddaf24e28d761ea5d3857de2bbb9515f1482799189de54f1c1e8b1bc6147c"}, + {file = "sqlglot-25.1.0-py3-none-any.whl", hash = "sha256:a9b23f0ea455ca3a7bc8daf4b404f9a19d4ab201b0220907e121f935c8a01013"}, + {file = "sqlglot-25.1.0.tar.gz", hash = "sha256:1df2c5c0ef56961c4269a626414d3c349340f2aa329dffdb9d3f90f2eef50dbf"}, ] [package.extras] dev = ["duckdb (>=0.6)", "maturin (>=1.4,<2.0)", "mypy", "pandas", "pandas-stubs", "pdoc", "pre-commit", "python-dateutil", "ruff (==0.4.3)", "types-python-dateutil", "typing-extensions"] -rs = ["sqlglotrs (==0.2.5)"] +rs = ["sqlglotrs (==0.2.6)"] [[package]] name = "stack-data" @@ -7700,4 +7700,4 @@ visualization = ["graphviz"] [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "668f9773cdff13a8d26141b942e83a27c7c06fe1d572643abeb5b12c2a5a4e5d" +content-hash = "10715145f1d26cf5309b3348f09f6b544ff8395a6518b23df708644f54f1ed8e" diff --git a/pyproject.toml b/pyproject.toml index fcaad1e53ea8..88ddcf8de7bb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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,<25.1" +sqlglot = ">=23.4,<25.2" toolz = ">=0.11,<1" typing-extensions = ">=4.3.0,<5" black = { version = ">=22.1.0,<25", optional = true } diff --git a/requirements-dev.txt b/requirements-dev.txt index 1b2152c1b61b..1e9d323a9817 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -256,7 +256,7 @@ sortedcontainers==2.4.0 ; python_version >= "3.10" and python_version < "4.0" soupsieve==2.5 ; 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.30 ; python_version >= "3.10" and python_version < "3.13" -sqlglot==25.0.3 ; python_version >= "3.10" and python_version < "4.0" +sqlglot==25.1.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" stdlib-list==0.10.0 ; python_version >= "3.10" and python_version < "4.0"