Skip to content

Commit f2da655

Browse files
Update sqlglot requirement from <24.2,>=23.9 to >=23.9,<25.1 (#1856)
Updates the requirements on [sqlglot](https://github.com/tobymao/sqlglot) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/tobymao/sqlglot/blob/main/CHANGELOG.md">sqlglot's changelog</a>.</em></p> <blockquote> <h2>[v25.0.2] - 2024-06-05</h2> <h3>:sparkles: New Features</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/472058daccf8dc2a7f7f4b7082309a06802017a5"><code>472058d</code></a> - <strong>bigquery</strong>: add support for GAP_FILL function <em>(commit by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li> </ul> <h2>[v25.0.0] - 2024-06-05</h2> <h3>:bug: Bug Fixes</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/f7081c455cf2f61af61dcfd0859a1bf272b84258"><code>f7081c4</code></a> - builder other props closes <a href="https://redirect.github.com/tobymao/sqlglot/pull/3588">#3588</a> <em>(commit by <a href="https://github.com/tobymao"><code>@​tobymao</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/13009ca5c14d81b7a07311a38f329b967f909926"><code>13009ca</code></a> - <strong>doris</strong>: use CSV syntax for GROUP_CONCAT <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3592">#3592</a> by <a href="https://github.com/Toms1999"><code>@​Toms1999</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/bf7fd12f9a19bf91dd89f76cf376bf6004d83dc0"><code>bf7fd12</code></a> - no_ilike_sql to lower both sides <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3593">#3593</a> by <a href="https://github.com/barakalon"><code>@​barakalon</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/8d875681403a43282e1f414ca90f3cf955f26027"><code>8d87568</code></a> - stop normalization_distance early <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3594">#3594</a> by <a href="https://github.com/barakalon"><code>@​barakalon</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/3e38912cd0de2e3939221b6ad8ae194e68cfe288"><code>3e38912</code></a> - <strong>duckdb</strong>: add reserved keywords <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3597">#3597</a> by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/5683d5fe7eeae8f70751de962644c0981c21c7fc"><code>5683d5f</code></a> - <strong>hive</strong>: generate TRUNC for TimestampTrunc <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3600">#3600</a> by <a href="https://github.com/Toms1999"><code>@​Toms1999</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/ff55ec1ca8c259f3c304aa7f6039c033f1fe728c"><code>ff55ec1</code></a> - <strong>hive</strong>: generate string unit for TRUNC, parse it into TimestampTrunc too <em>(commit by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/12b6aa7006bbf005c750070d9e266153057ff281"><code>12b6aa7</code></a> - <strong>snowflake</strong>: Fix COPY INTO with subquery <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3605">#3605</a> by <a href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em> <ul> <li>:arrow_lower_right: <em>fixes issue <a href="https://redirect.github.com/tobymao/sqlglot/issues/3604">#3604</a> opened by <a href="https://github.com/ajuszczak"><code>@​ajuszczak</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/061be9bda9e03b17590a0ac58fa2fec0540e2e77"><code>061be9b</code></a> - optimize absorb_and_eliminate and remove_complements <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3595">#3595</a> by <a href="https://github.com/barakalon"><code>@​barakalon</code></a>)</em></li> </ul> <h3>:wrench: Chores</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/7dd244b6a57e4e8cc9d07cbaf3e89c60fa665a69"><code>7dd244b</code></a> - <strong>hive</strong>: test TRUNC roundtrip <em>(commit by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li> </ul> <h2>[v24.1.2] - 2024-06-04</h2> <h3>:sparkles: New Features</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/158ca9724c23e7a58f6782719b477f2adb57acae"><code>158ca97</code></a> - <strong>duckdb</strong>: transpile TIMESTAMPNTZ into TIMESTAMP <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3587">#3587</a> by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li> </ul> <h2>[v24.1.1] - 2024-06-03</h2> <h3>:bug: Bug Fixes</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/60d9085a4ec2d0c39aa904bf81b7e15b5bac8ea5"><code>60d9085</code></a> - <strong>postgres</strong>: collate with identifier closes <a href="https://redirect.github.com/tobymao/sqlglot/pull/3578">#3578</a> <em>(commit by <a href="https://github.com/tobymao"><code>@​tobymao</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/317e3a96a49f439aa06af31abb06990f9a1b0d63"><code>317e3a9</code></a> - <strong>bigquery</strong>: expanding positional refs with ambiguous references <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3585">#3585</a> by <a href="https://github.com/tobymao"><code>@​tobymao</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/5e321f15ac4e54c78b9f90475e1bac4a94eaa48d"><code>5e321f1</code></a> - div aliases closes <a href="https://redirect.github.com/tobymao/sqlglot/pull/3583">#3583</a> <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3586">#3586</a> by <a href="https://github.com/tobymao"><code>@​tobymao</code></a>)</em></li> </ul> <h2>[v24.1.0] - 2024-05-30</h2> <h3>:boom: BREAKING CHANGES</h3> <ul> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/0788c944a85d7323b61109ee1ccb5859e3d08404"><code>0788c94</code></a> - Expand stars on BigQuery's tbl.struct_col.* selections <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3531">#3531</a> by <a href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em>:</p> <p>Expand stars on BigQuery's tbl.struct_col.* selections (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3531">#3531</a>)</p> </li> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/3e71393cb8e201a75321fbc179289eb15b1dc6ce"><code>3e71393</code></a> - Refactor struct star expansion in BQ <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3576">#3576</a> by <a href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em>:</p> <p>Refactor struct star expansion in BQ (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3576">#3576</a>)</p> </li> </ul> <h3>:sparkles: New Features</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/0788c944a85d7323b61109ee1ccb5859e3d08404"><code>0788c94</code></a> - <strong>optimizer</strong>: Expand stars on BigQuery's tbl.struct_col.* selections <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3531">#3531</a> by <a href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em> <ul> <li>:arrow_lower_right: <em>addresses issue <a href="https://redirect.github.com/tobymao/sqlglot/issues/3484">#3484</a> opened by <a href="https://github.com/Bladieblah"><code>@​Bladieblah</code></a></em></li> </ul> </li> </ul> <h3>:bug: Bug Fixes</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/472058daccf8dc2a7f7f4b7082309a06802017a5"><code>472058d</code></a> Feat(bigquery): add support for GAP_FILL function</li> <li><a href="https://github.com/tobymao/sqlglot/commit/8418a730b1312d9a234ce2530be2636ad807b5bd"><code>8418a73</code></a> docs: update API docs, CHANGELOG.md for v25.0.1 [skip ci]</li> <li><a href="https://github.com/tobymao/sqlglot/commit/f6b0ec793817d9d1ebb79f47050ceb543a475793"><code>f6b0ec7</code></a> Revert &quot;Refactor!!: use maybe_parse instead of convert in _binop (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3603">#3603</a>)&quot; (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3">#3</a>...</li> <li><a href="https://github.com/tobymao/sqlglot/commit/262d08a094bdf62f71196f392c5d62a374d8f956"><code>262d08a</code></a> docs: update API docs, CHANGELOG.md for v25.0.0 [skip ci]</li> <li><a href="https://github.com/tobymao/sqlglot/commit/061be9bda9e03b17590a0ac58fa2fec0540e2e77"><code>061be9b</code></a> fix: optimize absorb_and_eliminate and remove_complements (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3595">#3595</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/12b6aa7006bbf005c750070d9e266153057ff281"><code>12b6aa7</code></a> fix(snowflake): Fix COPY INTO with subquery (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3605">#3605</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/ff7556bd359daafac25159edd9fdb0b6e7f91d77"><code>ff7556b</code></a> Refactor!!: use maybe_parse instead of convert in _binop (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3603">#3603</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/ff55ec1ca8c259f3c304aa7f6039c033f1fe728c"><code>ff55ec1</code></a> Fix(hive): generate string unit for TRUNC, parse it into TimestampTrunc too</li> <li><a href="https://github.com/tobymao/sqlglot/commit/7dd244b6a57e4e8cc9d07cbaf3e89c60fa665a69"><code>7dd244b</code></a> Chore(hive): test TRUNC roundtrip</li> <li><a href="https://github.com/tobymao/sqlglot/commit/5683d5fe7eeae8f70751de962644c0981c21c7fc"><code>5683d5f</code></a> fix(hive): generate TRUNC for TimestampTrunc (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3600">#3600</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tobymao/sqlglot/compare/v23.9.0...v25.0.2">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 81638ee commit f2da655

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ dependencies = ["databricks-sdk>=0.27,<0.29",
4848
"databricks-labs-lsql~=0.4.0",
4949
"databricks-labs-blueprint>=0.6.0",
5050
"PyYAML>=6.0.0,<7.0.0",
51-
"sqlglot>=23.9,<24.2",
51+
"sqlglot>=23.9,<25.1",
5252
"astroid>=3.2.2"]
5353

5454
[project.entry-points.databricks]

0 commit comments

Comments
 (0)