Skip to content

Commit e16194b

Browse files
Update sqlglot requirement from <25.18,>=25.5.0 to >=25.5.0,<25.19 (#2509)
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.18.0] - 2024-08-28</h2> <h3>:boom: BREAKING CHANGES</h3> <ul> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/22bb9a0e5c64ae344c9e25ed34200ed743e7b8f0"><code>22bb9a0</code></a> - stop normalizing qualified anonymous functions <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3969">#3969</a> by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em>:</p> <p>stop normalizing qualified anonymous functions (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3969">#3969</a>)</p> </li> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/8aec68253b10dcbfe7cc5b3d6e1145ae714ca346"><code>8aec682</code></a> - mysql/tsql datetime precision, formatting, exp.AtTimeZone <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3951">#3951</a> by <a href="https://github.com/erindru"><code>@​erindru</code></a>)</em>:</p> <p>mysql/tsql datetime precision, formatting, exp.AtTimeZone (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3951">#3951</a>)</p> </li> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/2f3626a4fc20c46411cd91bf8beda2bdd103ca4a"><code>2f3626a</code></a> - Generation of exp.SHA2, exp.Transform, exp.IgnoreNulls <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3980">#3980</a> by <a href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em>:</p> <p>Generation of exp.SHA2, exp.Transform, exp.IgnoreNulls (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3980">#3980</a>)</p> </li> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/905b7226ae4a6dc505fe303bb4df3818cb586826"><code>905b722</code></a> - preserve each distinct CUBE/ROLLUP/GROUPING SET clause <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3985">#3985</a> by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em>:</p> <p>preserve each distinct CUBE/ROLLUP/GROUPING SET clause (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3985">#3985</a>)</p> </li> </ul> <h3>:sparkles: New Features</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/48b214da7e39d36938d12059deb827d0a5f6a5a2"><code>48b214d</code></a> - <strong>postgres</strong>: Support for IS JSON predicate <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3971">#3971</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/3965">#3965</a> opened by <a href="https://github.com/faisal-ksolves"><code>@​faisal-ksolves</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/f7e4e4adc64aaef73d23c2550a4bfa9958d4851b"><code>f7e4e4a</code></a> - <strong>duckdb</strong>: add support for the GLOB table function closes <a href="https://redirect.github.com/tobymao/sqlglot/pull/3973">#3973</a> <em>(commit by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/a0d137787885627aae07f11a9c18a4cc133baa0a"><code>a0d1377</code></a> - <strong>spark</strong>: add support for table statement in INSERT <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3986">#3986</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/tobymao/sqlglot/issues/3984">#3984</a> opened by <a href="https://github.com/madeirak"><code>@​madeirak</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/f5bfd67341518d0ecb1c3693e0b41ed5c1cf0596"><code>f5bfd67</code></a> - <strong>mysql</strong>: Parse JSON_VALUE() <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3987">#3987</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/3983">#3983</a> opened by <a href="https://github.com/ashishshukla19"><code>@​ashishshukla19</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/79e92ad565c42098ff7b7921fe04e6aac7859dd8"><code>79e92ad</code></a> - <strong>spark</strong>: Default naming of STRUCT fields <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3991">#3991</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/3988">#3988</a> opened by <a href="https://github.com/dor-bernstein"><code>@​dor-bernstein</code></a></em></li> </ul> </li> </ul> <h3>:bug: Bug Fixes</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/22bb9a0e5c64ae344c9e25ed34200ed743e7b8f0"><code>22bb9a0</code></a> - stop normalizing qualified anonymous functions <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3969">#3969</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/3967">#3967</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/8aec68253b10dcbfe7cc5b3d6e1145ae714ca346"><code>8aec682</code></a> - mysql/tsql datetime precision, formatting, exp.AtTimeZone <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3951">#3951</a> by <a href="https://github.com/erindru"><code>@​erindru</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/d37a5bbfcd5732aa64a24bd83dde4abcac8b0bed"><code>d37a5bb</code></a> - <strong>snowflake</strong>: handle DIV0 case where divident is null <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3975">#3975</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/3974">#3974</a> opened by <a href="https://github.com/Nathan-Fenner"><code>@​Nathan-Fenner</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/b2f877ba5fc9ec9fdafad74196dda1631fdfc0c1"><code>b2f877b</code></a> - <strong>oracle</strong>: Use LTRIM/RTRIM unless BOTH is specified <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3977">#3977</a> by <a href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/201b51a860d4db2b2e49e04f6534b7ad22ae287c"><code>201b51a</code></a> - <strong>sqlite</strong>: Make IS parser more lenient <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3981">#3981</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/3978">#3978</a> opened by <a href="https://github.com/focafull"><code>@​focafull</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/2f3626a4fc20c46411cd91bf8beda2bdd103ca4a"><code>2f3626a</code></a> - <strong>duckdb</strong>: Generation of exp.SHA2, exp.Transform, exp.IgnoreNulls <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3980">#3980</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/3972">#3972</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/905b7226ae4a6dc505fe303bb4df3818cb586826"><code>905b722</code></a> - <strong>parser</strong>: preserve each distinct CUBE/ROLLUP/GROUPING SET clause <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3985">#3985</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/3979">#3979</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/ee9dc399134ad86720abe480ee2565de822336cf"><code>ee9dc39</code></a> - Fix binding of TABLESAMPLE to exp.Subquery instead of top-level exp.Select <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3994">#3994</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/3992">#3992</a> opened by <a href="https://github.com/cpcloud"><code>@​cpcloud</code></a></em></li> </ul> </li> </ul> <h2>[v25.17.0] - 2024-08-26</h2> <h3>:boom: BREAKING CHANGES</h3> <ul> <li>due to <a href="https://github.com/tobymao/sqlglot/commit/0a9ba0536235e10aed02d4ff5e571e435a00febc"><code>0a9ba05</code></a> - 0 is falsey <em>(commit by <a href="https://github.com/tobymao"><code>@​tobymao</code></a>)</em>:</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/79e92ad565c42098ff7b7921fe04e6aac7859dd8"><code>79e92ad</code></a> feat(spark): Default naming of STRUCT fields (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3991">#3991</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/ee9dc399134ad86720abe480ee2565de822336cf"><code>ee9dc39</code></a> fix: Fix binding of TABLESAMPLE to exp.Subquery instead of top-level exp.Sele...</li> <li><a href="https://github.com/tobymao/sqlglot/commit/d1e1baa52c3cc06e9cbce838abc8a87c575ab6a1"><code>d1e1baa</code></a> Generate ON CLUSTER for transpiled CREATE SCHEMA (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3993">#3993</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/905b7226ae4a6dc505fe303bb4df3818cb586826"><code>905b722</code></a> Fix(parser)!: preserve each distinct CUBE/ROLLUP/GROUPING SET clause (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3985">#3985</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/f5bfd67341518d0ecb1c3693e0b41ed5c1cf0596"><code>f5bfd67</code></a> feat(mysql): Parse JSON_VALUE() (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3987">#3987</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/a0d137787885627aae07f11a9c18a4cc133baa0a"><code>a0d1377</code></a> Feat(spark): add support for table statement in INSERT (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3986">#3986</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/2f3626a4fc20c46411cd91bf8beda2bdd103ca4a"><code>2f3626a</code></a> fix(duckdb)!: Generation of exp.SHA2, exp.Transform, exp.IgnoreNulls (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3980">#3980</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/201b51a860d4db2b2e49e04f6534b7ad22ae287c"><code>201b51a</code></a> fix(sqlite): Make IS parser more lenient (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3981">#3981</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/b2f877ba5fc9ec9fdafad74196dda1631fdfc0c1"><code>b2f877b</code></a> fix(oracle): Use LTRIM/RTRIM unless BOTH is specified (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3977">#3977</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/d37a5bbfcd5732aa64a24bd83dde4abcac8b0bed"><code>d37a5bb</code></a> Fix(snowflake): handle DIV0 case where divident is null (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3975">#3975</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tobymao/sqlglot/compare/v25.5.0...v25.18.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> Co-authored-by: Cor <[email protected]>
1 parent e87ca95 commit e16194b

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.30",
4848
"databricks-labs-lsql>=0.5,<0.10",
4949
"databricks-labs-blueprint>=0.8,<0.9",
5050
"PyYAML>=6.0.0,<7.0.0",
51-
"sqlglot>=25.5.0,<25.18",
51+
"sqlglot>=25.5.0,<25.19",
5252
"astroid>=3.2.2"]
5353

5454
[project.optional-dependencies]

0 commit comments

Comments
 (0)