diff --git a/ibis/backends/tests/snapshots/test_sql/test_union_aliasing/duckdb/out.sql b/ibis/backends/tests/snapshots/test_sql/test_union_aliasing/duckdb/out.sql index f20e2b58b33e..f8186ab49f78 100644 --- a/ibis/backends/tests/snapshots/test_sql/test_union_aliasing/duckdb/out.sql +++ b/ibis/backends/tests/snapshots/test_sql/test_union_aliasing/duckdb/out.sql @@ -27,24 +27,24 @@ WITH "t5" AS ( "t0"."field_of_study", UNNEST( CAST([ - ROW('1970-71', "t0"."1970-71"), - ROW('1975-76', "t0"."1975-76"), - ROW('1980-81', "t0"."1980-81"), - ROW('1985-86', "t0"."1985-86"), - ROW('1990-91', "t0"."1990-91"), - ROW('1995-96', "t0"."1995-96"), - ROW('2000-01', "t0"."2000-01"), - ROW('2005-06', "t0"."2005-06"), - ROW('2010-11', "t0"."2010-11"), - ROW('2011-12', "t0"."2011-12"), - ROW('2012-13', "t0"."2012-13"), - ROW('2013-14', "t0"."2013-14"), - ROW('2014-15', "t0"."2014-15"), - ROW('2015-16', "t0"."2015-16"), - ROW('2016-17', "t0"."2016-17"), - ROW('2017-18', "t0"."2017-18"), - ROW('2018-19', "t0"."2018-19"), - ROW('2019-20', "t0"."2019-20") + {'years': '1970-71', 'degrees': "t0"."1970-71"}, + {'years': '1975-76', 'degrees': "t0"."1975-76"}, + {'years': '1980-81', 'degrees': "t0"."1980-81"}, + {'years': '1985-86', 'degrees': "t0"."1985-86"}, + {'years': '1990-91', 'degrees': "t0"."1990-91"}, + {'years': '1995-96', 'degrees': "t0"."1995-96"}, + {'years': '2000-01', 'degrees': "t0"."2000-01"}, + {'years': '2005-06', 'degrees': "t0"."2005-06"}, + {'years': '2010-11', 'degrees': "t0"."2010-11"}, + {'years': '2011-12', 'degrees': "t0"."2011-12"}, + {'years': '2012-13', 'degrees': "t0"."2012-13"}, + {'years': '2013-14', 'degrees': "t0"."2013-14"}, + {'years': '2014-15', 'degrees': "t0"."2014-15"}, + {'years': '2015-16', 'degrees': "t0"."2015-16"}, + {'years': '2016-17', 'degrees': "t0"."2016-17"}, + {'years': '2017-18', 'degrees': "t0"."2017-18"}, + {'years': '2018-19', 'degrees': "t0"."2018-19"}, + {'years': '2019-20', 'degrees': "t0"."2019-20"} ] AS STRUCT("years" TEXT, "degrees" BIGINT)[]) ) AS "__pivoted__" FROM "humanities" AS "t0" diff --git a/pyproject.toml b/pyproject.toml index f4e58d2e3a68..5c36e2011ff9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ dependencies = [ "parsy>=2,<3", "python-dateutil>=2.8.2,<3", "pytz>=2022.7", - "sqlglot>=23.4,<25.30", + "sqlglot>=23.4,<25.31", "toolz>=0.11,<2", "typing-extensions>=4.3.0,<5", ] diff --git a/requirements-dev.txt b/requirements-dev.txt index 4afdc0b6c38d..caa7a3f5d024 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -239,7 +239,7 @@ sortedcontainers==2.4.0 soupsieve==2.6 sphobjinv==2.3.1.1 sqlalchemy==2.0.36 -sqlglot==25.29.0 +sqlglot==25.30.0 stack-data==0.6.3 statsmodels==0.14.4 tabulate==0.9.0 diff --git a/uv.lock b/uv.lock index ab8d2b1e9b64..cfd4eb50bb1a 100644 --- a/uv.lock +++ b/uv.lock @@ -2182,7 +2182,7 @@ requires-dist = [ { name = "rich", marker = "extra == 'trino'", specifier = ">=12.4.4,<14" }, { name = "shapely", marker = "extra == 'geospatial'", specifier = ">=2,<3" }, { name = "snowflake-connector-python", marker = "extra == 'snowflake'", specifier = ">=3.0.2,!=3.3.0b1,<4" }, - { name = "sqlglot", specifier = ">=23.4,<25.30" }, + { name = "sqlglot", specifier = ">=23.4,<25.31" }, { name = "toolz", specifier = ">=0.11,<2" }, { name = "trino", marker = "extra == 'trino'", specifier = ">=0.321,<1" }, { name = "typing-extensions", specifier = ">=4.3.0,<5" }, @@ -5138,11 +5138,11 @@ wheels = [ [[package]] name = "sqlglot" -version = "25.29.0" +version = "25.30.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/61/23/fbd5e87750e93471f80499ed2bba978a11144274939bf9b1d22b829c00bb/sqlglot-25.29.0.tar.gz", hash = "sha256:fcb4e2f5cb9a17ca3f003f6c165afcbe0001c0a57d477252727fef56b8f8b352", size = 19594726 } +sdist = { url = "https://files.pythonhosted.org/packages/33/74/39602d959c9d03e70fee6b5939a7a2dc60ab5dd2c9b3e89d9cb7a4bf0a27/sqlglot-25.30.0.tar.gz", hash = "sha256:f39ad054750f3be164e69ea74c784b5bcbb237c49416695ba95df696cd81c9d5", size = 19626939 } wheels = [ - { url = "https://files.pythonhosted.org/packages/78/6d/97b60d4d5249a1bea207e7319b818e25cba1bf993e132f050ea533fe0867/sqlglot-25.29.0-py3-none-any.whl", hash = "sha256:ab79c50439d77860eb49a0e5d7e0d0b8d19024796f21dec3fd607a3d969c013b", size = 426192 }, + { url = "https://files.pythonhosted.org/packages/ec/ee/a88a2079bc2c8234653c2f1d1feaf9856b34e735bcd93bf94c6bbc74a6d5/sqlglot-25.30.0-py3-none-any.whl", hash = "sha256:2008e51f0d352d6bb967be71767810abdd396e84f2d07dd7816b75775323246b", size = 428743 }, ] [[package]]