Skip to content

Commit cd6ad77

Browse files
Update sqlglot requirement from <25.5,>=25.4.1 to >=25.5.0,<25.6 (#2084)
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.5.0] - 2024-07-04</h2> <h3>:boom: BREAKING CHANGES</h3> <ul> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/8335ba10e60c7c63881d7559a6f1fada11b0e55d"><code>8335ba1</code></a> - preserve EXTRACT(date_part FROM datetime) calls <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3729">#3729</a> by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em>:</p> <p>preserve EXTRACT(date_part FROM datetime) calls (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3729">#3729</a>)</p> </li> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/fb066a6167e1f887bd8c1a1369d063fe70f36a8a"><code>fb066a6</code></a> - Decouple NVL() from COALESCE() <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3734">#3734</a> by <a href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em>:</p> <p>Decouple NVL() from COALESCE() (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3734">#3734</a>)</p> </li> </ul> <h3>:sparkles: New Features</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/0c032992fac622ebaee114cd9f6e405be1820054"><code>0c03299</code></a> - <strong>teradata</strong>: random lower upper closes <a href="https://redirect.github.com/tobymao/sqlglot/pull/3721">#3721</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/37b6e2d806f6da1338c75803919c602f8705acac"><code>37b6e2d</code></a> - <strong>snowflake</strong>: add support for VECTOR(type, size) <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3724">#3724</a> by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/1e07c4d29a43192fb57c120f3b9c1c2fa27d0fa6"><code>1e07c4d</code></a> - <strong>presto, trino</strong>: Configurable transpilation of Snowflake VARIANT <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3725">#3725</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/3713">#3713</a> opened by <a href="https://github.com/Leonti"><code>@​Leonti</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/e5a53aaa015806574cd3c4bbe46b5788e960903e"><code>e5a53aa</code></a> - <strong>snowflake</strong>: Support for FROM CHANGES <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3731">#3731</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/3730">#3730</a> opened by <a href="https://github.com/achicoine-coveo"><code>@​achicoine-coveo</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/820d66430bb23bff88d0057b22842d313e1431c5"><code>820d664</code></a> - <strong>presto</strong>: wrap md5 string arguments in to_utf8 <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3732">#3732</a> by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em> <ul> <li>:arrow_lower_right: <em>addresses issue <a href="https://redirect.github.com/TobikoData/sqlmesh/issues/2855">#2855</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/912bc84791008ecce545cfbd3b0c9d4362131eb3"><code>912bc84</code></a> - <strong>spark, databricks</strong>: Support view schema binding options <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3739">#3739</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/3738">#3738</a> opened by <a href="https://github.com/aersam"><code>@​aersam</code></a></em></li> </ul> </li> </ul> <h3>:bug: Bug Fixes</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/3454f861f22f680f6b8c18cca466154d3b9fe8d1"><code>3454f86</code></a> - <strong>teradata</strong>: use timestamp with time zone over timestamptz <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3723">#3723</a> by <a href="https://github.com/mtagle"><code>@​mtagle</code></a>)</em> <ul> <li>:arrow_lower_right: <em>fixes issue <a href="https://redirect.github.com/tobymao/sqlglot/issues/3722">#3722</a> opened by <a href="https://github.com/mtagle"><code>@​mtagle</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/f4a28721fd33edb3178c1d99746209dadfbba487"><code>f4a2872</code></a> - <strong>clickhouse</strong>: switch off table alias columns generation <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3727">#3727</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/3726">#3726</a> opened by <a href="https://github.com/cpcloud"><code>@​cpcloud</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/8335ba10e60c7c63881d7559a6f1fada11b0e55d"><code>8335ba1</code></a> - <strong>clickhouse</strong>: preserve EXTRACT(date_part FROM datetime) calls <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3729">#3729</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/3728">#3728</a> opened by <a href="https://github.com/cpcloud"><code>@​cpcloud</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/fb066a6167e1f887bd8c1a1369d063fe70f36a8a"><code>fb066a6</code></a> - <strong>oracle</strong>: Decouple NVL() from COALESCE() <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3734">#3734</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/3733">#3733</a> opened by <a href="https://github.com/Hal-H2Apps"><code>@​Hal-H2Apps</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/c790c3b1fa274d7b0faf9f75e7dbc62bc4f55c67"><code>c790c3b</code></a> - <strong>tsql</strong>: parse rhs of x::varchar(max) into a type <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3737">#3737</a> by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li> </ul> <h3>:recycle: Refactors</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/84416d207a2e397aba12a4138fcbd1fab382c22d"><code>84416d2</code></a> - <strong>teradata</strong>: clean up CurrentTimestamp generation logic <em>(commit by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li> </ul> <h2>[v25.4.1] - 2024-06-29</h2> <h3>:bug: Bug Fixes</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/6bf9853fd0b26d5a4e93e37447c3b275cd108872"><code>6bf9853</code></a> - <strong>tsql</strong>: cast shorthand closes <a href="https://redirect.github.com/tobymao/sqlglot/pull/3760">#3760</a> <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3720">#3720</a> by <a href="https://github.com/tobymao"><code>@​tobymao</code></a>)</em></li> </ul> <h2>[v25.4.0] - 2024-06-28</h2> <h3>:boom: BREAKING CHANGES</h3> <ul> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/9fb1d79398769edb452e075eb3b6416e69f239bf"><code>9fb1d79</code></a> - extract unit should be a var, not a column <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3712">#3712</a> by <a href="https://github.com/tobymao"><code>@​tobymao</code></a>)</em>:</p> <p>extract unit should be a var, not a column (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3712">#3712</a>)</p> </li> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/ae1816fc71a5a164d1aae6644a9c3bc4cec484d2"><code>ae1816f</code></a> - simplify no longer removes neg, add to_py <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3714">#3714</a> by <a href="https://github.com/tobymao"><code>@​tobymao</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/912bc84791008ecce545cfbd3b0c9d4362131eb3"><code>912bc84</code></a> feat(spark, databricks): Support view schema binding options (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3739">#3739</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/c790c3b1fa274d7b0faf9f75e7dbc62bc4f55c67"><code>c790c3b</code></a> Fix(tsql): parse rhs of x::varchar(max) into a type (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3737">#3737</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/820d66430bb23bff88d0057b22842d313e1431c5"><code>820d664</code></a> Feat(presto): wrap md5 string arguments in to_utf8 (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3732">#3732</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/fb066a6167e1f887bd8c1a1369d063fe70f36a8a"><code>fb066a6</code></a> fix(oracle)!: Decouple NVL() from COALESCE() (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3734">#3734</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/e5a53aaa015806574cd3c4bbe46b5788e960903e"><code>e5a53aa</code></a> feat(snowflake): Support for FROM CHANGES (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3731">#3731</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/1e07c4d29a43192fb57c120f3b9c1c2fa27d0fa6"><code>1e07c4d</code></a> feat(presto, trino): Configurable transpilation of Snowflake VARIANT (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3725">#3725</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/8335ba10e60c7c63881d7559a6f1fada11b0e55d"><code>8335ba1</code></a> Fix(clickhouse)!: preserve EXTRACT(date_part FROM datetime) calls (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3729">#3729</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/f4a28721fd33edb3178c1d99746209dadfbba487"><code>f4a2872</code></a> Fix(clickhouse): switch off table alias columns generation (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3727">#3727</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/37b6e2d806f6da1338c75803919c602f8705acac"><code>37b6e2d</code></a> Feat(snowflake): add support for VECTOR(type, size) (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3724">#3724</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/84416d207a2e397aba12a4138fcbd1fab382c22d"><code>84416d2</code></a> Refactor(teradata): clean up CurrentTimestamp generation logic</li> <li>Additional commits viewable in <a href="https://github.com/tobymao/sqlglot/compare/v25.4.1...v25.5.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 a760927 commit cd6ad77

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.30",
4848
"databricks-labs-lsql>=0.4,<0.6",
4949
"databricks-labs-blueprint>=0.6.0",
5050
"PyYAML>=6.0.0,<7.0.0",
51-
"sqlglot>=25.4.1,<25.5",
51+
"sqlglot>=25.5.0,<25.6",
5252
"astroid>=3.2.2"]
5353

5454
[project.optional-dependencies]

0 commit comments

Comments
 (0)