diff --git a/ibis/backends/tests/test_struct.py b/ibis/backends/tests/test_struct.py index 0888d233a287..d55661720b0b 100644 --- a/ibis/backends/tests/test_struct.py +++ b/ibis/backends/tests/test_struct.py @@ -156,15 +156,18 @@ def test_field_access_after_case(con): ["postgres"], reason="struct literals not implemented", raises=PsycoPg2SyntaxError ) @pytest.mark.notimpl(["flink"], raises=IbisError, reason="not implemented in ibis") -@pytest.mark.notyet( - ["clickhouse"], - raises=AssertionError, - reason="sqlglot fails to parse, fall back to unknown", -) @pytest.mark.parametrize( "nullable", [ - param(True, id="nullable"), + param( + True, + marks=pytest.mark.notyet( + ["clickhouse"], + raises=AssertionError, + reason="clickhouse doesn't allow nullable nested types", + ), + id="nullable", + ), param( False, marks=[ diff --git a/poetry.lock b/poetry.lock index 15f5403c9604..b6997f4b73cb 100644 --- a/poetry.lock +++ b/poetry.lock @@ -6750,13 +6750,13 @@ sqlcipher = ["sqlcipher3_binary"] [[package]] name = "sqlglot" -version = "25.5.1" +version = "25.6.0" description = "An easily customizable SQL parser and transpiler" optional = false python-versions = ">=3.7" files = [ - {file = "sqlglot-25.5.1-py3-none-any.whl", hash = "sha256:80019318158069edc11e6892f74c696e5579a5588da2a0ce11dd7e215a3cb318"}, - {file = "sqlglot-25.5.1.tar.gz", hash = "sha256:c167eac4536dd6ed202fee5107b76b8cb05db85550a47e8448bf6452c4780158"}, + {file = "sqlglot-25.6.0-py3-none-any.whl", hash = "sha256:629dbd7a043987f42203369288f44f059cbbaa4bfee6d7778b8c56020215557e"}, + {file = "sqlglot-25.6.0.tar.gz", hash = "sha256:4c68fbf78f31606a99a75650de710db80a0d6bc32f04d0839626629ae624a3c9"}, ] [package.extras] @@ -7758,4 +7758,4 @@ visualization = ["graphviz"] [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "c832f3556a143121fdda9acc16833f279907eb36e44aed7fb93f9fe6f4451c69" +content-hash = "95a451a0189c8fa22f51935c279138dabe0fa1155d7996dda6990ecbabed6c60" diff --git a/pyproject.toml b/pyproject.toml index 2ac684e92f55..4dd5f83227ab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,7 @@ pyarrow-hotfix = { version = ">=0.4,<1", optional = true } python-dateutil = ">=2.8.2,<3" pytz = ">=2022.7" rich = ">=12.4.4,<14" -sqlglot = ">=23.4,<25.6" +sqlglot = ">=23.4,<25.7" 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 d444b574dc61..678715277a55 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -255,7 +255,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.31 ; python_version >= "3.10" and python_version < "3.13" -sqlglot==25.5.1 ; python_version >= "3.10" and python_version < "4.0" +sqlglot==25.6.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"