Skip to content

Commit

Permalink
fix(deps): update dependency sqlglot to >=23.4,<25.33 (#10527)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [sqlglot](https://redirect.github.com/tobymao/sqlglot) |
`>=23.4,<25.32` -> `>=23.4,<25.33` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/sqlglot/25.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/sqlglot/25.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/sqlglot/25.31.0/25.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/sqlglot/25.31.0/25.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>tobymao/sqlglot (sqlglot)</summary>

###
[`v25.32.0`](https://redirect.github.com/tobymao/sqlglot/blob/HEAD/CHANGELOG.md#v25320---2024-11-22)

[Compare
Source](https://redirect.github.com/tobymao/sqlglot/compare/v25.31.4...v25.32.0)

##### 💥 BREAKING CHANGES

- due to
[`0eed45c`](https://redirect.github.com/tobymao/sqlglot/commit/0eed45cce82681bfbafc8bfb78eb2a1bce86ae53)
- Add support for ATTACH/DETACH statements *(PR
[#&#8203;4419](https://redirect.github.com/tobymao/sqlglot/pull/4419) by
[@&#8203;VaggelisD](https://redirect.github.com/VaggelisD))*:

Add support for ATTACH/DETACH statements
([#&#8203;4419](https://redirect.github.com/tobymao/sqlglot/issues/4419))

- due to
[`da48b68`](https://redirect.github.com/tobymao/sqlglot/commit/da48b68a4f1fa6a754fa2a0a789564675d59546f)
- Tokenize hints as comments *(PR
[#&#8203;4426](https://redirect.github.com/tobymao/sqlglot/pull/4426) by
[@&#8203;VaggelisD](https://redirect.github.com/VaggelisD))*:

Tokenize hints as comments
([#&#8203;4426](https://redirect.github.com/tobymao/sqlglot/issues/4426))

- due to
[`fe35394`](https://redirect.github.com/tobymao/sqlglot/commit/fe3539464a153b1c0bf46975d6221dee48a48f02)
- fix datetime coercion in the canonicalize rule *(PR
[#&#8203;4431](https://redirect.github.com/tobymao/sqlglot/pull/4431) by
[@&#8203;georgesittas](https://redirect.github.com/georgesittas))*:

fix datetime coercion in the canonicalize rule
([#&#8203;4431](https://redirect.github.com/tobymao/sqlglot/issues/4431))

- due to
[`fddcd3d`](https://redirect.github.com/tobymao/sqlglot/commit/fddcd3dfc264a645909686c201d2288c0adf9047)
- bump sqlglotrs to 0.3.0 *(commit by
[@&#8203;georgesittas](https://redirect.github.com/georgesittas))*:

    bump sqlglotrs to 0.3.0

##### ✨ New Features

-
[`0eed45c`](https://redirect.github.com/tobymao/sqlglot/commit/0eed45cce82681bfbafc8bfb78eb2a1bce86ae53)
- **duckdb**: Add support for ATTACH/DETACH statements *(PR
[#&#8203;4419](https://redirect.github.com/tobymao/sqlglot/pull/4419) by
[@&#8203;VaggelisD](https://redirect.github.com/VaggelisD))*
-
[`2db757d`](https://redirect.github.com/tobymao/sqlglot/commit/2db757dfec9ded26572b8e9a71dcc8ea8a2382fe)
- **bigquery**: Support FEATURES_AT_TIME *(PR
[#&#8203;4430](https://redirect.github.com/tobymao/sqlglot/pull/4430) by
[@&#8203;VaggelisD](https://redirect.github.com/VaggelisD))*
- ↘️ *addresses issue
[#&#8203;4428](https://redirect.github.com/tobymao/sqlglot/issues/4428)
opened by
[@&#8203;YuvrajSoni-Ksolves](https://redirect.github.com/YuvrajSoni-Ksolves)*
-
[`fc591ae`](https://redirect.github.com/tobymao/sqlglot/commit/fc591ae2fa80be5821cb53d78906afe8e5505654)
- **risingwave**: add support for SINK, SOURCE & other DDL properties
*(PR
[#&#8203;4387](https://redirect.github.com/tobymao/sqlglot/pull/4387) by
[@&#8203;lin0303-siyuan](https://redirect.github.com/lin0303-siyuan))*
-
[`a2bde2e`](https://redirect.github.com/tobymao/sqlglot/commit/a2bde2e03e9ef8650756bf304db35b4876746d1f)
- **mysql**: improve transpilability of CHAR\[ACTER]\_LENGTH *(commit by
[@&#8203;georgesittas](https://redirect.github.com/georgesittas))*
-
[`0acc248`](https://redirect.github.com/tobymao/sqlglot/commit/0acc248361f49f68f17d799cbaf6b3de06c57f7e)
- **snowflake**: Support CREATE ... WITH TAG *(PR
[#&#8203;4434](https://redirect.github.com/tobymao/sqlglot/pull/4434) by
[@&#8203;asikowitz](https://redirect.github.com/asikowitz))*
- ↘️ *addresses issue
[#&#8203;4427](https://redirect.github.com/tobymao/sqlglot/issues/4427)
opened by [@&#8203;asikowitz](https://redirect.github.com/asikowitz)*
-
[`37863ff`](https://redirect.github.com/tobymao/sqlglot/commit/37863ffd747cad9c2b9bed60119cc1551faeffda)
- **snowflake**: Transpile non-UNNEST exp.GenerateDateArray refs *(PR
[#&#8203;4433](https://redirect.github.com/tobymao/sqlglot/pull/4433) by
[@&#8203;VaggelisD](https://redirect.github.com/VaggelisD))*

##### 🐛 Bug Fixes

-
[`83ee97b`](https://redirect.github.com/tobymao/sqlglot/commit/83ee97b34cd0fe269b4820f15147d1ed7523612e)
- **parser**: Do not parse window function arg as exp.Column *(PR
[#&#8203;4415](https://redirect.github.com/tobymao/sqlglot/pull/4415) by
[@&#8203;VaggelisD](https://redirect.github.com/VaggelisD))*
- ↘️ *fixes issue
[#&#8203;4410](https://redirect.github.com/tobymao/sqlglot/issues/4410)
opened by [@&#8203;merlindso](https://redirect.github.com/merlindso)*
-
[`b22e0c8`](https://redirect.github.com/tobymao/sqlglot/commit/b22e0c8680b0ee5a382e57904b698bf21a94f782)
- **parser**: Extend DESCRIBE parser for MySQL FORMAT & statements *(PR
[#&#8203;4417](https://redirect.github.com/tobymao/sqlglot/pull/4417) by
[@&#8203;VaggelisD](https://redirect.github.com/VaggelisD))*
- ↘️ *fixes issue
[#&#8203;4414](https://redirect.github.com/tobymao/sqlglot/issues/4414)
opened by [@&#8203;AhlamHani](https://redirect.github.com/AhlamHani)*
-
[`d1d2ae7`](https://redirect.github.com/tobymao/sqlglot/commit/d1d2ae7d1514abc9477d275352e5e126509157c6)
- **duckdb**: Allow count arg on exp.ArgMax & exp.ArgMin *(PR
[#&#8203;4413](https://redirect.github.com/tobymao/sqlglot/pull/4413) by
[@&#8203;aersam](https://redirect.github.com/aersam))*
- ↘️ *fixes issue
[#&#8203;4412](https://redirect.github.com/tobymao/sqlglot/issues/4412)
opened by [@&#8203;aersam](https://redirect.github.com/aersam)*
-
[`e3c45d5`](https://redirect.github.com/tobymao/sqlglot/commit/e3c45d5ec0ae6827e4b0bcfb047aeac131379732)
- presto reset session closes
[#&#8203;4421](https://redirect.github.com/tobymao/sqlglot/pull/4421)
*(commit by [@&#8203;tobymao](https://redirect.github.com/tobymao))*
-
[`fd81f1b`](https://redirect.github.com/tobymao/sqlglot/commit/fd81f1bfee9a566b8df8bb501828c20bd72ac481)
- more presto commands *(commit by
[@&#8203;tobymao](https://redirect.github.com/tobymao))*
-
[`da48b68`](https://redirect.github.com/tobymao/sqlglot/commit/da48b68a4f1fa6a754fa2a0a789564675d59546f)
- Tokenize hints as comments *(PR
[#&#8203;4426](https://redirect.github.com/tobymao/sqlglot/pull/4426) by
[@&#8203;VaggelisD](https://redirect.github.com/VaggelisD))*
- ↘️ *fixes issue
[#&#8203;4425](https://redirect.github.com/tobymao/sqlglot/issues/4425)
opened by [@&#8203;mkmoisen](https://redirect.github.com/mkmoisen)*
-
[`69d4a8c`](https://redirect.github.com/tobymao/sqlglot/commit/69d4a8ccdf5954f293acbdf61c420b72dde5b8af)
- **tsql**: Map weekday to %w *(PR
[#&#8203;4438](https://redirect.github.com/tobymao/sqlglot/pull/4438) by
[@&#8203;VaggelisD](https://redirect.github.com/VaggelisD))*
- ↘️ *fixes issue
[#&#8203;4435](https://redirect.github.com/tobymao/sqlglot/issues/4435)
opened by
[@&#8203;travispaice](https://redirect.github.com/travispaice)*
-
[`41d6a13`](https://redirect.github.com/tobymao/sqlglot/commit/41d6a13ccfb28fbcf772fd43ea17da3b36567e67)
- add return type *(PR
[#&#8203;4440](https://redirect.github.com/tobymao/sqlglot/pull/4440) by
[@&#8203;etonlels](https://redirect.github.com/etonlels))*
-
[`fe35394`](https://redirect.github.com/tobymao/sqlglot/commit/fe3539464a153b1c0bf46975d6221dee48a48f02)
- **optimizer**: fix datetime coercion in the canonicalize rule *(PR
[#&#8203;4431](https://redirect.github.com/tobymao/sqlglot/pull/4431) by
[@&#8203;georgesittas](https://redirect.github.com/georgesittas))*
- ↘️ *fixes issue
[#&#8203;4429](https://redirect.github.com/tobymao/sqlglot/issues/4429)
opened by [@&#8203;Ca1ypso](https://redirect.github.com/Ca1ypso)*
-
[`6aea9f3`](https://redirect.github.com/tobymao/sqlglot/commit/6aea9f346ef8f91467e1d5da5a3f94cf862b44fe)
- Refactor NORMALIZE_FUNCTIONS flag usage *(PR
[#&#8203;4437](https://redirect.github.com/tobymao/sqlglot/pull/4437) by
[@&#8203;VaggelisD](https://redirect.github.com/VaggelisD))*

##### ♻️ Refactors

-
[`f32a435`](https://redirect.github.com/tobymao/sqlglot/commit/f32a435205ec288f310ad57748ac66805e27f7f5)
- **risingwave**: clean up SINK/SOURCE logic *(PR
[#&#8203;4432](https://redirect.github.com/tobymao/sqlglot/pull/4432) by
[@&#8203;georgesittas](https://redirect.github.com/georgesittas))*
-
[`b24aced`](https://redirect.github.com/tobymao/sqlglot/commit/b24aced2dbb7e471d2dd0eb830ea4f2e24f9d267)
- **snowflake**: clean up \[WITH] TAG property / constraint *(PR
[#&#8203;4439](https://redirect.github.com/tobymao/sqlglot/pull/4439) by
[@&#8203;georgesittas](https://redirect.github.com/georgesittas))*

##### 🔧 Chores

-
[`fddcd3d`](https://redirect.github.com/tobymao/sqlglot/commit/fddcd3dfc264a645909686c201d2288c0adf9047)
- bump sqlglotrs to 0.3.0 *(commit by
[@&#8203;georgesittas](https://redirect.github.com/georgesittas))*

###
[`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 Fixes

-
[`59b8b6d`](https://redirect.github.com/tobymao/sqlglot/commit/59b8b6d1409b4112d425cc31db45519d5936b6fa)
- preserve column quoting in DISTINCT ON elimination *(commit by
[@&#8203;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)

##### ✨ New Features

-
[`835e717`](https://redirect.github.com/tobymao/sqlglot/commit/835e71795f994599dbc19f1a5969b464154926e1)
- **clickhouse**: transform function support *(PR
[#&#8203;4408](https://redirect.github.com/tobymao/sqlglot/pull/4408) by
[@&#8203;GaliFFun](https://redirect.github.com/GaliFFun))*

##### 🐛 Bug Fixes

-
[`0479743`](https://redirect.github.com/tobymao/sqlglot/commit/047974393cebbddbbfb878071d159a3e538b0e4d)
- **snowflake**: cast to TimeToStr arg to TIMESTAMP more conservatively
*(commit by
[@&#8203;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 Fixes

-
[`d851269`](https://redirect.github.com/tobymao/sqlglot/commit/d851269780c7f0a0c756289c3dea9b1aa58d2a69)
- use existing aliases in DISTINCT ON elimination, if any *(commit by
[@&#8203;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)

##### ✨ New Features

-
[`b00d857`](https://redirect.github.com/tobymao/sqlglot/commit/b00d857cd8a6d2452c2170077cbfa82352f708dd)
- add support for specifying column in row_number function *(PR
[#&#8203;4406](https://redirect.github.com/tobymao/sqlglot/pull/4406) by
[@&#8203;GaliFFun](https://redirect.github.com/GaliFFun))*

##### 🐛 Bug Fixes

-
[`0e46cc7`](https://redirect.github.com/tobymao/sqlglot/commit/0e46cc7fa2d80ba4e92182b3fa5f1075a63f4754)
- refactor DISTINCT ON elimination transformation *(PR
[#&#8203;4407](https://redirect.github.com/tobymao/sqlglot/pull/4407) by
[@&#8203;georgesittas](https://redirect.github.com/georgesittas))*

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->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).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gil Forsyth <[email protected]>
  • Loading branch information
renovate[bot] and gforsyth authored Dec 5, 2024
1 parent e38eb83 commit 0721d11
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 15 deletions.
13 changes: 4 additions & 9 deletions ibis/backends/tests/test_string.py
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ def string_temp_table(backend, con):
reason="Treats len(🐍) == 2",
),
pytest.mark.notyet(
["impala", "mysql"],
["impala"],
raises=AssertionError,
reason="Treats len(🐍) == 4 and accented characters as len 2",
),
Expand All @@ -1114,7 +1114,7 @@ def string_temp_table(backend, con):
reason="Treats len(🐍) == 2",
),
pytest.mark.notyet(
["impala", "mysql"],
["impala"],
raises=AssertionError,
reason="Treats len(🐍) == 4 and accented characters as len 2",
),
Expand All @@ -1131,7 +1131,7 @@ def string_temp_table(backend, con):
reason="Treats len(🐍) == 2",
),
pytest.mark.notyet(
["impala", "mysql"],
["impala"],
raises=AssertionError,
reason="Treats len(🐍) == 4 and accented characters as len 2",
),
Expand All @@ -1148,7 +1148,7 @@ def string_temp_table(backend, con):
reason="Treats len(🐍) == 2",
),
pytest.mark.notyet(
["impala", "mysql"],
["impala"],
raises=AssertionError,
reason="Treats len(🐍) == 4 and accented characters as len 2",
),
Expand All @@ -1159,11 +1159,6 @@ def string_temp_table(backend, con):
lambda t: t.str.len().astype("int32"),
id="len",
marks=[
pytest.mark.notyet(
["mysql"],
raises=AssertionError,
reason="thinks emoji are 4 characters long",
),
pytest.mark.notyet(
["impala", "polars"],
raises=AssertionError,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies = [
"parsy>=2,<3",
"python-dateutil>=2.8.2,<3",
"pytz>=2022.7",
"sqlglot>=23.4,<25.32",
"sqlglot>=23.4,<25.33",
"toolz>=0.11,<2",
"typing-extensions>=4.3.0,<5",
]
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0721d11

Please sign in to comment.