Skip to content

Commit 2209174

Browse files
Update sqlglot requirement from <25.25,>=25.5.0 to >=25.5.0,<25.26 (#2968)
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.25.0] - 2024-10-14</h2> <h3>:boom: BREAKING CHANGES</h3> <ul> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/275b64b6a28722232a24870e443b249994220d54"><code>275b64b</code></a> - refactor set operation builders so they can work with N expressions <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4226">#4226</a> by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em>:</p> <p>refactor set operation builders so they can work with N expressions (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4226">#4226</a>)</p> </li> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/aee76da1cadec242f7428d23999f1752cb0708ca"><code>aee76da</code></a> - Native annotations for string functions <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4231">#4231</a> by <a href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em>:</p> <p>Native annotations for string functions (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4231">#4231</a>)</p> </li> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/202aaa0e7390142ee3ade41c28e2e77cde31f295"><code>202aaa0</code></a> - Native annotations for string functions <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4234">#4234</a> by <a href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em>:</p> <p>Native annotations for string functions (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4234">#4234</a>)</p> </li> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/5741180e895eaaa75a07af388d36a0d2df97b28c"><code>5741180</code></a> - produce exp.Column for the RHS of <!-- raw HTML omitted --> IN <!-- raw HTML omitted --> <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4239">#4239</a> by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em>:</p> <p>produce exp.Column for the RHS of <!-- raw HTML omitted --> IN <!-- raw HTML omitted --> (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4239">#4239</a>)</p> </li> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/4da25029b1c6f1425b4602f42da4fa1bcd3fccdb"><code>4da2502</code></a> - make Explode a UDTF subclass <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4242">#4242</a> by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em>:</p> <p>make Explode a UDTF subclass (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4242">#4242</a>)</p> </li> </ul> <h3>:sparkles: New Features</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/163e943cdaf449599640c198f69e73d2398eb323"><code>163e943</code></a> - <strong>tsql</strong>: SPLIT_PART function and conversion to PARSENAME in tsql <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4211">#4211</a> by <a href="https://github.com/daihuynh"><code>@​daihuynh</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/275b64b6a28722232a24870e443b249994220d54"><code>275b64b</code></a> - refactor set operation builders so they can work with N expressions <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4226">#4226</a> by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/3f6ba3e69c9ba92429d2b3b00cac33f45518aa56"><code>3f6ba3e</code></a> - <strong>clickhouse</strong>: Support varlen arrays for ARRAY JOIN <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4229">#4229</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/4227">#4227</a> opened by <a href="https://github.com/brunorpinho"><code>@​brunorpinho</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/aee76da1cadec242f7428d23999f1752cb0708ca"><code>aee76da</code></a> - <strong>bigquery</strong>: Native annotations for string functions <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4231">#4231</a> by <a href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/202aaa0e7390142ee3ade41c28e2e77cde31f295"><code>202aaa0</code></a> - <strong>bigquery</strong>: Native annotations for string functions <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4234">#4234</a> by <a href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/eeae25e03a883671f9d5e514f9bd3021fb6c0d32"><code>eeae25e</code></a> - support EXPLAIN in mysql <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4235">#4235</a> by <a href="https://github.com/xiaoyu-meng-mxy"><code>@​xiaoyu-meng-mxy</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/06748d93ccd232528003c37fdda25ae8163f3c18"><code>06748d9</code></a> - <strong>mysql</strong>: add support for operation modifiers like HIGH_PRIORITY <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4238">#4238</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/4236">#4236</a> opened by <a href="https://github.com/asdfsx"><code>@​asdfsx</code></a></em></li> </ul> </li> </ul> <h3>:bug: Bug Fixes</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/dcdec95f986426ae90469baca993b47ac390081b"><code>dcdec95</code></a> - Make exp.Update a DML node <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4223">#4223</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/4221">#4221</a> opened by <a href="https://github.com/rahul-ve"><code>@​rahul-ve</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/79caf519987718390a086bee19fdc89f6094496c"><code>79caf51</code></a> - <strong>clickhouse</strong>: rename BOOLEAN type to Bool fixes <a href="https://redirect.github.com/tobymao/sqlglot/pull/4230">#4230</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/b26a3f67b7113802ba1b4b3b211431e98258dc15"><code>b26a3f6</code></a> - satisfy mypy <em>(commit by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/5741180e895eaaa75a07af388d36a0d2df97b28c"><code>5741180</code></a> - <strong>parser</strong>: produce exp.Column for the RHS of <!-- raw HTML omitted --> IN <!-- raw HTML omitted --> <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4239">#4239</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/4237">#4237</a> opened by <a href="https://github.com/rustyconover"><code>@​rustyconover</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/daa6e78e4b810eff826f995aa52f9e38197f1b7e"><code>daa6e78</code></a> - <strong>optimizer</strong>: handle subquery predicate substitution correctly in de morgan's rule <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4240">#4240</a> by <a href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/c0a83556acffcd77521f69bf51503a07310f749d"><code>c0a8355</code></a> - <strong>parser</strong>: parse a column reference for the RHS of the IN clause <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4241">#4241</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/0882f03d526f593b2d415e85b7d7a7c113721806"><code>0882f03</code></a> - Rename exp.RenameTable to exp.AlterRename <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4224">#4224</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/4222">#4222</a> opened by <a href="https://github.com/s1101010110"><code>@​s1101010110</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/fd42b5cdaf9421abb11e71d82726536af09e3ae3"><code>fd42b5c</code></a> - Simplify PARSENAME <!-- raw HTML omitted --> SPLIT_PART transpilation <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4225">#4225</a> by <a href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/4da25029b1c6f1425b4602f42da4fa1bcd3fccdb"><code>4da2502</code></a> - make Explode a UDTF subclass <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4242">#4242</a> by <a href="https://github.com/georgesittas"><code>@​georgesittas</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/4da25029b1c6f1425b4602f42da4fa1bcd3fccdb"><code>4da2502</code></a> Refactor!: make Explode a UDTF subclass (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4242">#4242</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/c0a83556acffcd77521f69bf51503a07310f749d"><code>c0a8355</code></a> Fix(parser): parse a column reference for the RHS of the IN clause (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4241">#4241</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/06748d93ccd232528003c37fdda25ae8163f3c18"><code>06748d9</code></a> Feat(mysql): add support for operation modifiers like HIGH_PRIORITY (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4238">#4238</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/daa6e78e4b810eff826f995aa52f9e38197f1b7e"><code>daa6e78</code></a> Fix(optimizer): handle subquery predicate substitution correctly in de morgan...</li> <li><a href="https://github.com/tobymao/sqlglot/commit/5741180e895eaaa75a07af388d36a0d2df97b28c"><code>5741180</code></a> Fix(parser)!: produce exp.Column for the RHS of &lt;value&gt; IN &lt;name&gt; (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4239">#4239</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/b26a3f67b7113802ba1b4b3b211431e98258dc15"><code>b26a3f6</code></a> Fix: satisfy mypy</li> <li><a href="https://github.com/tobymao/sqlglot/commit/eeae25e03a883671f9d5e514f9bd3021fb6c0d32"><code>eeae25e</code></a> feat: support EXPLAIN in mysql (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4235">#4235</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/202aaa0e7390142ee3ade41c28e2e77cde31f295"><code>202aaa0</code></a> feat(bigquery)!: Native annotations for string functions (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4234">#4234</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/aee76da1cadec242f7428d23999f1752cb0708ca"><code>aee76da</code></a> feat(bigquery)!: Native annotations for string functions (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4231">#4231</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/79caf519987718390a086bee19fdc89f6094496c"><code>79caf51</code></a> Fix(clickhouse): rename BOOLEAN type to Bool fixes <a href="https://redirect.github.com/tobymao/sqlglot/issues/4230">#4230</a></li> <li>Additional commits viewable in <a href="https://github.com/tobymao/sqlglot/compare/v25.5.0...v25.25.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 c3f542f commit 2209174

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.13",
4949
"databricks-labs-blueprint>=0.9.1,<0.10",
5050
"PyYAML>=6.0.0,<7.0.0",
51-
"sqlglot>=25.5.0,<25.25",
51+
"sqlglot>=25.5.0,<25.26",
5252
"astroid>=3.3.1"]
5353

5454
[project.optional-dependencies]

0 commit comments

Comments
 (0)