Skip to content

Commit b8e66bb

Browse files
Update sqlglot requirement from <25.33,>=25.5.0 to >=25.5.0,<25.34 (#3407)
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.33.0] - 2024-12-04</h2> <h3>:boom: BREAKING CHANGES</h3> <ul> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/07fa69dcb8970167ba0c55fff39175ab856ea9f3"><code>07fa69d</code></a> - Make TIMESTAMP map to Type.TIMESTAMPTZ <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4451">#4451</a> by <a href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em>:</p> <p>Make TIMESTAMP map to Type.TIMESTAMPTZ (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4451">#4451</a>)</p> </li> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/63d8f41794b2e9d22f87d0a8fbfbd83125889ca2"><code>63d8f41</code></a> - treat NEXT as a func keyword, parse NEXT VALUE FOR in tsql, oracle <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4467">#4467</a> by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em>:</p> <p>treat NEXT as a func keyword, parse NEXT VALUE FOR in tsql, oracle (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4467">#4467</a>)</p> </li> </ul> <h3>:sparkles: New Features</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/3945acc4a0dfd58147de929c9a2c71734d8f1ade"><code>3945acc</code></a> - allow tables to be preserved in replace_table <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4468">#4468</a> by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/a9dca8dd1b523efd703003694d4389f9af9d1a12"><code>a9dca8d</code></a> - <strong>postgres</strong>: Support generated columns <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4472">#4472</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/4463">#4463</a> opened by <a href="https://github.com/AKST"><code>@​AKST</code></a></em></li> </ul> </li> </ul> <h3>:bug: Bug Fixes</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/380dad2f5826caa820a69442c42805c7b3c23ada"><code>380dad2</code></a> - <strong>bigquery</strong>: Rename CONTAINS_SUBSTRING to CONTAINS_SUBSTR <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4457">#4457</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/4456">#4456</a> opened by <a href="https://github.com/romanhaa"><code>@​romanhaa</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/ca5023db5ea2a2ece804f6e389640e0bd4987598"><code>ca5023d</code></a> - <strong>presto</strong>: Remove parentheses from CURRENT_USER <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4459">#4459</a> by <a href="https://github.com/MikeWallis42"><code>@​MikeWallis42</code></a>)</em> <ul> <li>:arrow_lower_right: <em>fixes issue <a href="https://redirect.github.com/tobymao/sqlglot/issues/4458">#4458</a> opened by <a href="https://github.com/MikeWallis42"><code>@​MikeWallis42</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/07fa69dcb8970167ba0c55fff39175ab856ea9f3"><code>07fa69d</code></a> - <strong>spark</strong>: Make TIMESTAMP map to Type.TIMESTAMPTZ <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4451">#4451</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/4442">#4442</a> opened by <a href="https://github.com/dor-bernstein"><code>@​dor-bernstein</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/63d8f41794b2e9d22f87d0a8fbfbd83125889ca2"><code>63d8f41</code></a> - <strong>parser</strong>: treat NEXT as a func keyword, parse NEXT VALUE FOR in tsql, oracle <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4467">#4467</a> by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em> <ul> <li>:arrow_lower_right: <em>fixes issue <a href="https://redirect.github.com/tobymao/sqlglot/issues/4466">#4466</a> opened by <a href="https://github.com/Harmuth94"><code>@​Harmuth94</code></a></em></li> </ul> </li> </ul> <h2>[v25.32.1] - 2024-11-27</h2> <h3>:bug: Bug Fixes</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/954d8fd12740071e0951d1df3a405a4b9634868d"><code>954d8fd</code></a> - parse DEFAULT in VALUES clause into a Var <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4448">#4448</a> by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em> <ul> <li>:arrow_lower_right: <em>fixes issue <a href="https://redirect.github.com/tobymao/sqlglot/issues/4446">#4446</a> opened by <a href="https://github.com/ddh-5230"><code>@​ddh-5230</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/73afd0f435b7e7ccde831ee311c9a76c14797fdc"><code>73afd0f</code></a> - <strong>bigquery</strong>: Make JSONPathTokenizer more lenient for new standards <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4447">#4447</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/4441">#4441</a> opened by <a href="https://github.com/patricksurry"><code>@​patricksurry</code></a></em></li> </ul> </li> </ul> <h2>[v25.32.0] - 2024-11-22</h2> <h3>:boom: BREAKING CHANGES</h3> <ul> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/0eed45cce82681bfbafc8bfb78eb2a1bce86ae53"><code>0eed45c</code></a> - Add support for ATTACH/DETACH statements <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4419">#4419</a> by <a href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em>:</p> <p>Add support for ATTACH/DETACH statements (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4419">#4419</a>)</p> </li> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/da48b68a4f1fa6a754fa2a0a789564675d59546f"><code>da48b68</code></a> - Tokenize hints as comments <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4426">#4426</a> by <a href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em>:</p> <p>Tokenize hints as comments (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4426">#4426</a>)</p> </li> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/fe3539464a153b1c0bf46975d6221dee48a48f02"><code>fe35394</code></a> - fix datetime coercion in the canonicalize rule <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4431">#4431</a> by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em>:</p> <p>fix datetime coercion in the canonicalize rule (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4431">#4431</a>)</p> </li> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/fddcd3dfc264a645909686c201d2288c0adf9047"><code>fddcd3d</code></a> - bump sqlglotrs to 0.3.0 <em>(commit by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em>:</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/65a51d7653016be1cee5ec546faecaa34bd4c815"><code>65a51d7</code></a> Feat!(snowflake): improve transpilation of TO_TIMESTAMP* variants (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4473">#4473</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/a9dca8dd1b523efd703003694d4389f9af9d1a12"><code>a9dca8d</code></a> feat(postgres): Support generated columns (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4472">#4472</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/3945acc4a0dfd58147de929c9a2c71734d8f1ade"><code>3945acc</code></a> Feat: allow tables to be preserved in replace_table (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4468">#4468</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/63d8f41794b2e9d22f87d0a8fbfbd83125889ca2"><code>63d8f41</code></a> Fix(parser)!: treat NEXT as a func keyword, parse NEXT VALUE FOR in tsql, ora...</li> <li><a href="https://github.com/tobymao/sqlglot/commit/07fa69dcb8970167ba0c55fff39175ab856ea9f3"><code>07fa69d</code></a> fix(spark)!: Make TIMESTAMP map to Type.TIMESTAMPTZ (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4451">#4451</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/ca5023db5ea2a2ece804f6e389640e0bd4987598"><code>ca5023d</code></a> fix(presto): Remove parentheses from CURRENT_USER (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4459">#4459</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/380dad2f5826caa820a69442c42805c7b3c23ada"><code>380dad2</code></a> fix(bigquery): Rename CONTAINS_SUBSTRING to CONTAINS_SUBSTR (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4457">#4457</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/73825d2d11cefaabd2ed73c3dcb9184393b6c042"><code>73825d2</code></a> docs: update API docs, CHANGELOG.md for v25.32.1 [skip ci]</li> <li><a href="https://github.com/tobymao/sqlglot/commit/73afd0f435b7e7ccde831ee311c9a76c14797fdc"><code>73afd0f</code></a> fix(bigquery): Make JSONPathTokenizer more lenient for new standards (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4447">#4447</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/954d8fd12740071e0951d1df3a405a4b9634868d"><code>954d8fd</code></a> Fix: parse DEFAULT in VALUES clause into a Var (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4448">#4448</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tobymao/sqlglot/compare/v25.5.0...v25.33.0">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 2400d51 commit b8e66bb

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.38,<0.39",
4848
"databricks-labs-lsql>=0.14.0,<0.15",
4949
"databricks-labs-blueprint>=0.9.1,<0.10",
5050
"PyYAML>=6.0.0,<7.0.0",
51-
"sqlglot>=25.5.0,<25.33",
51+
"sqlglot>=25.5.0,<25.34",
5252
"astroid>=3.3.1"]
5353

5454
[project.optional-dependencies]

0 commit comments

Comments
 (0)