From 18dbfaf1fde5c03deb537a7b6561ed459c63e5ee Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 19 Nov 2024 15:16:45 +0000
Subject: [PATCH] fix(deps): update dependency sqlglot to >=23.4,<25.32
(#10502)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [sqlglot](https://redirect.github.com/tobymao/sqlglot) |
`>=23.4,<25.31` -> `>=23.4,<25.32` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/sqlglot/25.31.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/sqlglot/25.31.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/sqlglot/25.30.0/25.31.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/sqlglot/25.30.0/25.31.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
tobymao/sqlglot (sqlglot)
###
[`v25.31.4`](https://redirect.github.com/tobymao/sqlglot/blob/HEAD/CHANGELOG.md#v25314---2024-11-17)
[Compare
Source](https://redirect.github.com/tobymao/sqlglot/compare/v25.31.3...v25.31.4)
##### :bug: Bug Fixes
-
[`59b8b6d`](https://redirect.github.com/tobymao/sqlglot/commit/59b8b6d1409b4112d425cc31db45519d5936b6fa)
- preserve column quoting in DISTINCT ON elimination *(commit by
[@georgesittas](https://redirect.github.com/georgesittas))*
###
[`v25.31.3`](https://redirect.github.com/tobymao/sqlglot/blob/HEAD/CHANGELOG.md#v25313---2024-11-17)
[Compare
Source](https://redirect.github.com/tobymao/sqlglot/compare/v25.31.2...v25.31.3)
##### :sparkles: New Features
-
[`835e717`](https://redirect.github.com/tobymao/sqlglot/commit/835e71795f994599dbc19f1a5969b464154926e1)
- **clickhouse**: transform function support *(PR
[#4408](https://redirect.github.com/tobymao/sqlglot/pull/4408) by
[@GaliFFun](https://redirect.github.com/GaliFFun))*
##### :bug: Bug Fixes
-
[`0479743`](https://redirect.github.com/tobymao/sqlglot/commit/047974393cebbddbbfb878071d159a3e538b0e4d)
- **snowflake**: cast to TimeToStr arg to TIMESTAMP more conservatively
*(commit by
[@georgesittas](https://redirect.github.com/georgesittas))*
###
[`v25.31.2`](https://redirect.github.com/tobymao/sqlglot/blob/HEAD/CHANGELOG.md#v25312---2024-11-17)
[Compare
Source](https://redirect.github.com/tobymao/sqlglot/compare/v25.31.1...v25.31.2)
##### :bug: Bug Fixes
-
[`d851269`](https://redirect.github.com/tobymao/sqlglot/commit/d851269780c7f0a0c756289c3dea9b1aa58d2a69)
- use existing aliases in DISTINCT ON elimination, if any *(commit by
[@georgesittas](https://redirect.github.com/georgesittas))*
###
[`v25.31.1`](https://redirect.github.com/tobymao/sqlglot/blob/HEAD/CHANGELOG.md#v25311---2024-11-17)
[Compare
Source](https://redirect.github.com/tobymao/sqlglot/compare/v25.31.0...v25.31.1)
##### :sparkles: New Features
-
[`b00d857`](https://redirect.github.com/tobymao/sqlglot/commit/b00d857cd8a6d2452c2170077cbfa82352f708dd)
- add support for specifying column in row_number function *(PR
[#4406](https://redirect.github.com/tobymao/sqlglot/pull/4406) by
[@GaliFFun](https://redirect.github.com/GaliFFun))*
##### :bug: Bug Fixes
-
[`0e46cc7`](https://redirect.github.com/tobymao/sqlglot/commit/0e46cc7fa2d80ba4e92182b3fa5f1075a63f4754)
- refactor DISTINCT ON elimination transformation *(PR
[#4407](https://redirect.github.com/tobymao/sqlglot/pull/4407) by
[@georgesittas](https://redirect.github.com/georgesittas))*
###
[`v25.31.0`](https://redirect.github.com/tobymao/sqlglot/blob/HEAD/CHANGELOG.md#v25310---2024-11-16)
[Compare
Source](https://redirect.github.com/tobymao/sqlglot/compare/v25.30.0...v25.31.0)
##### :boom: BREAKING CHANGES
- due to
[`f4abfd5`](https://redirect.github.com/tobymao/sqlglot/commit/f4abfd59b8255cf8c39bf51028ee5f6ed704927f)
- Support FORMAT_TIMESTAMP *(PR
[#4383](https://redirect.github.com/tobymao/sqlglot/pull/4383) by
[@VaggelisD](https://redirect.github.com/VaggelisD))*:
Support FORMAT_TIMESTAMP
([#4383](https://redirect.github.com/tobymao/sqlglot/issues/4383))
- due to
[`45eef60`](https://redirect.github.com/tobymao/sqlglot/commit/45eef600064ad024b34e32e7acc3aca409fbd9c4)
- use select star when eliminating distinct on *(PR
[#4401](https://redirect.github.com/tobymao/sqlglot/pull/4401) by
[@agrigoroi-palantir](https://redirect.github.com/agrigoroi-palantir))*:
use select star when eliminating distinct on
([#4401](https://redirect.github.com/tobymao/sqlglot/issues/4401))
##### :sparkles: New Features
-
[`72ffdcb`](https://redirect.github.com/tobymao/sqlglot/commit/72ffdcb631bf7afdeda2ce96911442a94b7f11eb)
- **bigquery**: Add parsing support for STRPOS(...) *(PR
[#4378](https://redirect.github.com/tobymao/sqlglot/pull/4378) by
[@VaggelisD](https://redirect.github.com/VaggelisD))*
-
[`e7b67e0`](https://redirect.github.com/tobymao/sqlglot/commit/e7b67e0c280179188ce1bca650735978b758dca1)
- **bigquery**: Support MAKE_INTERVAL *(PR
[#4384](https://redirect.github.com/tobymao/sqlglot/pull/4384) by
[@VaggelisD](https://redirect.github.com/VaggelisD))*
-
[`37c4809`](https://redirect.github.com/tobymao/sqlglot/commit/37c4809dfda48224fd982ea8a48d3dbc5c17f9ae)
- **bigquery**: Support INT64(...) *(PR
[#4391](https://redirect.github.com/tobymao/sqlglot/pull/4391) by
[@VaggelisD](https://redirect.github.com/VaggelisD))*
-
[`9694999`](https://redirect.github.com/tobymao/sqlglot/commit/96949999d394e27df8b0287a14e9ac82d52bc0f9)
- Add support for CONTAINS(...) *(PR
[#4399](https://redirect.github.com/tobymao/sqlglot/pull/4399) by
[@VaggelisD](https://redirect.github.com/VaggelisD))*
##### :bug: Bug Fixes
-
[`f4abfd5`](https://redirect.github.com/tobymao/sqlglot/commit/f4abfd59b8255cf8c39bf51028ee5f6ed704927f)
- **bigquery**: Support FORMAT_TIMESTAMP *(PR
[#4383](https://redirect.github.com/tobymao/sqlglot/pull/4383) by
[@VaggelisD](https://redirect.github.com/VaggelisD))*
-
[`bb46ee3`](https://redirect.github.com/tobymao/sqlglot/commit/bb46ee33d481a888882cbbb26a9240dd2dbb10ee)
- **parser**: Parse exp.Column for DROP COLUMN *(PR
[#4390](https://redirect.github.com/tobymao/sqlglot/pull/4390) by
[@VaggelisD](https://redirect.github.com/VaggelisD))*
- :arrow_lower_right: *fixes issue
[#4388](https://redirect.github.com/tobymao/sqlglot/issues/4388)
opened by [@AhlamHani](https://redirect.github.com/AhlamHani)*
-
[`79f6783`](https://redirect.github.com/tobymao/sqlglot/commit/79f67830d7d3ba92bff91eeb95b4dc8bdfa6c44e)
- **snowflake**: Wrap DIV0 operands if they're binary expressions *(PR
[#4393](https://redirect.github.com/tobymao/sqlglot/pull/4393) by
[@VaggelisD](https://redirect.github.com/VaggelisD))*
- :arrow_lower_right: *fixes issue
[#4392](https://redirect.github.com/tobymao/sqlglot/issues/4392)
opened by
[@diogo-fernan](https://redirect.github.com/diogo-fernan)*
-
[`647b98d`](https://redirect.github.com/tobymao/sqlglot/commit/647b98d84643b88a41218fb67f6a2bd83ca4c702)
- **starrocks**: Add RESERVED_KEYWORDS specific to starrocks *(PR
[#4402](https://redirect.github.com/tobymao/sqlglot/pull/4402) by
[@notexistence](https://redirect.github.com/notexistence))*
-
[`45eef60`](https://redirect.github.com/tobymao/sqlglot/commit/45eef600064ad024b34e32e7acc3aca409fbd9c4)
- use select star when eliminating distinct on *(PR
[#4401](https://redirect.github.com/tobymao/sqlglot/pull/4401) by
[@agrigoroi-palantir](https://redirect.github.com/agrigoroi-palantir))*
##### :recycle: Refactors
-
[`a3af2af`](https://redirect.github.com/tobymao/sqlglot/commit/a3af2af3a893dfd6c6946b732aa086d1f1d91570)
- attach stamement comments consistently *(PR
[#4377](https://redirect.github.com/tobymao/sqlglot/pull/4377) by
[@georgesittas](https://redirect.github.com/georgesittas))*
- :arrow_lower_right: *addresses issue
[#4376](https://redirect.github.com/tobymao/sqlglot/issues/4376)
opened by [@YieldRay](https://redirect.github.com/YieldRay)*
##### :wrench: Chores
-
[`858c5b1`](https://redirect.github.com/tobymao/sqlglot/commit/858c5b1a43f74e11b8c357986c78b5068792b3af)
- improve contribution guide *(PR
[#4379](https://redirect.github.com/tobymao/sqlglot/pull/4379) by
[@georgesittas](https://redirect.github.com/georgesittas))*
-
[`160e688`](https://redirect.github.com/tobymao/sqlglot/commit/160e6883225cd6ad41a218213f73aa9f91b5fc5e)
- fix relative benchmark import, comment out sqltree *(PR
[#4403](https://redirect.github.com/tobymao/sqlglot/pull/4403) by
[@georgesittas](https://redirect.github.com/georgesittas))*
-
[`8d78add`](https://redirect.github.com/tobymao/sqlglot/commit/8d78addccaaffa4ea2dcfe1de002f8a653f137b7)
- bump PYO3 to v"0.22.6" *(PR
[#4400](https://redirect.github.com/tobymao/sqlglot/pull/4400) by
[@MartinSahlen](https://redirect.github.com/MartinSahlen))*
-
[`f78e755`](https://redirect.github.com/tobymao/sqlglot/commit/f78e755adaf52823642d2b0e1cae54da835ec653)
- bump sqlglotrs to v0.2.14 *(commit by
[@georgesittas](https://redirect.github.com/georgesittas))*
---
### Configuration
📅 **Schedule**: Branch creation - "after 10pm every weekday,every
weekend,before 5am every weekday" (UTC), Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
â™» **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/ibis-project/ibis).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gil Forsyth
---
pyproject.toml | 2 +-
requirements-dev.txt | 2 +-
uv.lock | 8 ++++----
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index 5c36e2011ff9..a798217b1e65 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.31",
+ "sqlglot>=23.4,<25.32",
"toolz>=0.11,<2",
"typing-extensions>=4.3.0,<5",
]
diff --git a/requirements-dev.txt b/requirements-dev.txt
index caa7a3f5d024..d126a5056a04 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.30.0
+sqlglot==25.31.0
stack-data==0.6.3
statsmodels==0.14.4
tabulate==0.9.0
diff --git a/uv.lock b/uv.lock
index cfd4eb50bb1a..58e18a7b2c32 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.31" },
+ { name = "sqlglot", specifier = ">=23.4,<25.32" },
{ 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.30.0"
+version = "25.31.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/33/74/39602d959c9d03e70fee6b5939a7a2dc60ab5dd2c9b3e89d9cb7a4bf0a27/sqlglot-25.30.0.tar.gz", hash = "sha256:f39ad054750f3be164e69ea74c784b5bcbb237c49416695ba95df696cd81c9d5", size = 19626939 }
+sdist = { url = "https://files.pythonhosted.org/packages/fd/f5/6637615dfe3be57447d3ecb78279a8afd17246d7250de5add488696bacac/sqlglot-25.31.0.tar.gz", hash = "sha256:92fa4f8bd0e0a4fa02b9fd51c21d7abf13a65692bac70cf68fe906883826bd49", size = 19653159 }
wheels = [
- { url = "https://files.pythonhosted.org/packages/ec/ee/a88a2079bc2c8234653c2f1d1feaf9856b34e735bcd93bf94c6bbc74a6d5/sqlglot-25.30.0-py3-none-any.whl", hash = "sha256:2008e51f0d352d6bb967be71767810abdd396e84f2d07dd7816b75775323246b", size = 428743 },
+ { url = "https://files.pythonhosted.org/packages/11/90/bb6330d6123321105459eaa1fcc1410516a7efdac18267d146ae4b9ba94a/sqlglot-25.31.0-py3-none-any.whl", hash = "sha256:dbd369a082dc7f7211e74049aa6e24a419d0cacbb7f4afb1f499011de95ff335", size = 430376 },
]
[[package]]