Skip to content

Commit 1053618

Browse files
Update sqlglot requirement from <25.7,>=25.5.0 to >=25.5.0,<25.8 (#2248)
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.7.0] - 2024-07-25</h2> <h3>:sparkles: New Features</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/ba0aa50072f623c299eb4d2dbb69993541fff27b"><code>ba0aa50</code></a> - <strong>duckdb</strong>: Transpile BQ's exp.DatetimeAdd, exp.DatetimeSub <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3777">#3777</a> by <a href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/5da91fb50d0f8029ddda16040ebd316c1a651e2d"><code>5da91fb</code></a> - <strong>postgres</strong>: Support for CREATE INDEX CONCURRENTLY <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3787">#3787</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/3783">#3783</a> opened by <a href="https://github.com/EdgyEdgemond"><code>@​EdgyEdgemond</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/00722eb41795e7454d0ecb4c3d0e1caf96a19465"><code>00722eb</code></a> - Move ANNOTATORS to Dialect for dialect-aware annotation <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3786">#3786</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/3778">#3778</a> opened by <a href="https://github.com/ddelzell"><code>@​ddelzell</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/a6d84fbd9b4120f42b31bb01d4bf3e6258e51562"><code>a6d84fb</code></a> - <strong>postgres</strong>: Parse TO_DATE as exp.StrToDate <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3799">#3799</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/3797">#3797</a> opened by <a href="https://github.com/dioptre"><code>@​dioptre</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/358264478e5449b7e4ebddce1cc463d140f266f5"><code>3582644</code></a> - <strong>hive, spark, db</strong>: Support for exp.GenerateSeries <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3798">#3798</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/3793">#3793</a> opened by <a href="https://github.com/wojciechowski-p"><code>@​wojciechowski-p</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/80b4a12b779b661e42d31cf75ead8aff25257f8a"><code>80b4a12</code></a> - <strong>tsql</strong>: Support for COLUMNSTORE option on CREATE INDEX <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3805">#3805</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/3801">#3801</a> opened by <a href="https://github.com/na399"><code>@​na399</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/bf6c12687f3ed032ea7be40875c19fc00e5927ad"><code>bf6c126</code></a> - <strong>databricks</strong>: Support USE CATALOG <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3812">#3812</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/3811">#3811</a> opened by <a href="https://github.com/grusin-db"><code>@​grusin-db</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/624d4115e3ee4b8db2dbf2970bf0047e14b23e92"><code>624d411</code></a> - <strong>snowflake</strong>: Support for OBJECT_INSERT, transpile to DDB <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3807">#3807</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/3802">#3802</a> opened by <a href="https://github.com/buremba"><code>@​buremba</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/5b393fb4d2db47b9229ca12a03aba82cdd510615"><code>5b393fb</code></a> - <strong>postgres</strong>: Add missing constraint options <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3816">#3816</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/3814">#3814</a> opened by <a href="https://github.com/DTovstohan"><code>@​DTovstohan</code></a></em></li> </ul> </li> </ul> <h3>:bug: Bug Fixes</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/898f523a8db9f73b59055f1e38cf4acb07157f00"><code>898f523</code></a> - <strong>duckdb</strong>: Wrap JSON_EXTRACT if it's subscripted <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3785">#3785</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/3782">#3782</a> opened by <a href="https://github.com/egan8888"><code>@​egan8888</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/db3748d56b138a6427d6f4fc3e32c895ffb993fa"><code>db3748d</code></a> - <strong>mysql</strong>: don't wrap VALUES clause <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3792">#3792</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/3789">#3789</a> opened by <a href="https://github.com/stephenprater"><code>@​stephenprater</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/44d650637d5d7a662b57ec1d8ca74dffe0f7ad73"><code>44d6506</code></a> - with as comments closes <a href="https://redirect.github.com/tobymao/sqlglot/pull/3794">#3794</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/8ca6a613692e7339717c449ba6966d7c2911b584"><code>8ca6a61</code></a> - <strong>tsql</strong>: Fix roundtrip of exp.Stddev <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3806">#3806</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/3804">#3804</a> opened by <a href="https://github.com/JonaGeishauser"><code>@​JonaGeishauser</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/855106377c97ee313b45046041fafabb2810dab2"><code>8551063</code></a> - <strong>duckdb</strong>: Fix STRUCT_PACK -&gt; ROW due to is_struct_cast <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3809">#3809</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/3808">#3808</a> opened by <a href="https://github.com/aersam"><code>@​aersam</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/98f80eda3863b5ff40d566330e6ab35a99f569ca"><code>98f80ed</code></a> - <strong>clickhouse</strong>: allow like as an identifier closes <a href="https://redirect.github.com/tobymao/sqlglot/pull/3813">#3813</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/556ba35e4ce9efa51561ef0578bfb24a51ce4dcd"><code>556ba35</code></a> - allow parse_identifier to handle single quotes <em>(commit by <a href="https://github.com/tobymao"><code>@​tobymao</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/f9810d213f3992881fc13291a681da6553701083"><code>f9810d2</code></a> - <strong>snowflake</strong>: Don't consume LPAREN when parsing staged file path <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3815">#3815</a> by <a href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/416f4a1b6a04b858ff8ed94509aacd9bacca145b"><code>416f4a1</code></a> - <strong>postgres</strong>: Fix COLLATE column constraint <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3820">#3820</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/3817">#3817</a> opened by <a href="https://github.com/DTovstohan"><code>@​DTovstohan</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/69b93953c35bd7f1d53cf15d9937117edb38f512"><code>69b9395</code></a> - Do not preemptively consume SELECT [ALL] if ALL is connected <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3822">#3822</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/3819">#3819</a> opened by <a href="https://github.com/nfx"><code>@​nfx</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/1c19abe5b3f3187a2e0ba420cf8c5e5b5ecc788e"><code>1c19abe</code></a> - <strong>presto, trino</strong>: Fix StrToUnix transpilation <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3824">#3824</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/3796">#3796</a> opened by <a href="https://github.com/ddelzell"><code>@​ddelzell</code></a></em></li> </ul> </li> </ul> <h2>[v25.6.1] - 2024-07-18</h2> <h3>:bug: Bug Fixes</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/19370d5d16b555e25def503323ec3dc4e5d40e6c"><code>19370d5</code></a> - <strong>postgres</strong>: Decouple UNIQUE from DEFAULT constraints <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/3775">#3775</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/3774">#3774</a> opened by <a href="https://github.com/EdgyEdgemond"><code>@​EdgyEdgemond</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/e99146b0989599772c020905f69496ea80e7e2e5"><code>e99146b</code></a> - make copy a dml statement for qualify_tables <em>(commit by <a href="https://github.com/tobymao"><code>@​tobymao</code></a>)</em></li> </ul> <h2>[v25.6.0] - 2024-07-17</h2> <h3>:boom: BREAKING CHANGES</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/1c19abe5b3f3187a2e0ba420cf8c5e5b5ecc788e"><code>1c19abe</code></a> fix(presto, trino): Fix StrToUnix transpilation (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3824">#3824</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/69b93953c35bd7f1d53cf15d9937117edb38f512"><code>69b9395</code></a> fix: Do not preemptively consume SELECT [ALL] if ALL is connected (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3822">#3822</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/416f4a1b6a04b858ff8ed94509aacd9bacca145b"><code>416f4a1</code></a> fix(postgres): Fix COLLATE column constraint (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3820">#3820</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/f9810d213f3992881fc13291a681da6553701083"><code>f9810d2</code></a> fix(snowflake): Don't consume LPAREN when parsing staged file path (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3815">#3815</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/5b393fb4d2db47b9229ca12a03aba82cdd510615"><code>5b393fb</code></a> feat(postgres): Add missing constraint options (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3816">#3816</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/804edc5b8673725d4e1e83b9967d815073580d89"><code>804edc5</code></a> test</li> <li><a href="https://github.com/tobymao/sqlglot/commit/9540fde92ea666fbb68c655d20ac2150b7c886c8"><code>9540fde</code></a> fix!(snowflake): historical + unpivot</li> <li><a href="https://github.com/tobymao/sqlglot/commit/556ba35e4ce9efa51561ef0578bfb24a51ce4dcd"><code>556ba35</code></a> fix: allow parse_identifier to handle single quotes</li> <li><a href="https://github.com/tobymao/sqlglot/commit/98f80eda3863b5ff40d566330e6ab35a99f569ca"><code>98f80ed</code></a> fix(clickhouse): allow like as an identifier closes <a href="https://redirect.github.com/tobymao/sqlglot/issues/3813">#3813</a></li> <li><a href="https://github.com/tobymao/sqlglot/commit/624d4115e3ee4b8db2dbf2970bf0047e14b23e92"><code>624d411</code></a> feat(snowflake): Support for OBJECT_INSERT, transpile to DDB (<a href="https://redirect.github.com/tobymao/sqlglot/issues/3807">#3807</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tobymao/sqlglot/compare/v25.5.0...v25.7.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 f751f20 commit 1053618

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

5454
[project.optional-dependencies]

0 commit comments

Comments
 (0)