Skip to content

Commit

Permalink
Update sqlglot requirement from <25.26,>=25.5.0 to >=25.5.0,<25.27 (#…
Browse files Browse the repository at this point in the history
…3041)

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.26.0] - 2024-10-21</h2>
<h3>:boom: BREAKING CHANGES</h3>
<ul>
<li>
<p>due to <a
href="https://github.com/tobymao/sqlglot/commit/142c3e75b25374ba9259f21b51cd728bbeb280ef"><code>142c3e7</code></a>
- Support TO_DOUBLE function <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4255">#4255</a>
by <a
href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em>:</p>
<p>Support TO_DOUBLE function (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4255">#4255</a>)</p>
</li>
<li>
<p>due to <a
href="https://github.com/tobymao/sqlglot/commit/13d06966a2ca9264f35d5a58e1eaff1baa7dc66e"><code>13d0696</code></a>
- Support TRY_TO_TIMESTAMP function <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4257">#4257</a>
by <a
href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em>:</p>
<p>Support TRY_TO_TIMESTAMP function (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4257">#4257</a>)</p>
</li>
<li>
<p>due to <a
href="https://github.com/tobymao/sqlglot/commit/7fc0055fb04713ba047baa5eda1ce0baf1cc79e2"><code>7fc0055</code></a>
- dont parse right-hand side operands of ARRAY JOIN as Tables <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4258">#4258</a>
by <a
href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em>:</p>
<p>dont parse right-hand side operands of ARRAY JOIN as Tables (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4258">#4258</a>)</p>
</li>
<li>
<p>due to <a
href="https://github.com/tobymao/sqlglot/commit/222152e32521dbc6de3384b18ab4c677239c6088"><code>222152e</code></a>
- Add type hints for optimizer rules eliminate &amp; merge subqueries
<em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4267">#4267</a>
by <a
href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em>:</p>
<p>Add type hints for optimizer rules eliminate &amp; merge subqueries
(<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4267">#4267</a>)</p>
</li>
</ul>
<h3>:sparkles: New Features</h3>
<ul>
<li><a
href="https://github.com/tobymao/sqlglot/commit/6f32e5348d9aeba9c5d51a892023b2e14e072119"><code>6f32e53</code></a>
- support non-strict qualify_columns <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4243">#4243</a>
by <a
href="https://github.com/hsheth2"><code>@​hsheth2</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/ed97954ecd7c2d7d4fe1bbf2ec0ecc000dd02b32"><code>ed97954</code></a>
- <strong>duckdb</strong>: Transpile Spark's LATERAL VIEW EXPLODE
<em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4252">#4252</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/4247">#4247</a>
opened by <a
href="https://github.com/idanyadgar-clutch"><code>@​idanyadgar-clutch</code></a></em></li>
</ul>
</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/8f5efc7bc01ba5923584cd6ef38a4d81e763ccae"><code>8f5efc7</code></a>
- <strong>oracle</strong>: parse hints <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4249">#4249</a>
by <a
href="https://github.com/mkmoisen"><code>@​mkmoisen</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/8b7ff5ee8713a3ba50c48addd3700927a0240cf5"><code>8b7ff5e</code></a>
- <strong>starrocks</strong>: support for ALTER TABLE SWAP WITH <em>(PR
<a
href="https://redirect.github.com/tobymao/sqlglot/pull/4256">#4256</a>
by <a
href="https://github.com/mrhamburg"><code>@​mrhamburg</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/1c433487a45379298ef27b3688723df2bd740fd1"><code>1c43348</code></a>
- <strong>trino</strong>: Support for LISTAGG function <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4253">#4253</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/4250">#4250</a>
opened by <a
href="https://github.com/npochhi"><code>@​npochhi</code></a></em></li>
</ul>
</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/142c3e75b25374ba9259f21b51cd728bbeb280ef"><code>142c3e7</code></a>
- <strong>snowflake</strong>: Support TO_DOUBLE function <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4255">#4255</a>
by <a
href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/13d06966a2ca9264f35d5a58e1eaff1baa7dc66e"><code>13d0696</code></a>
- <strong>snowflake</strong>: Support TRY_TO_TIMESTAMP function <em>(PR
<a
href="https://redirect.github.com/tobymao/sqlglot/pull/4257">#4257</a>
by <a
href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/04dccf3cdaf1c3a0466dda113aba5439f1639ae0"><code>04dccf3</code></a>
- <strong>tsql</strong>: Support for stored procedure options <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4260">#4260</a>
by <a
href="https://github.com/rsanchez-xtillion"><code>@​rsanchez-xtillion</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/36f68416b3dd0d9ac703dd926d1f74bc43566e0d"><code>36f6841</code></a>
- <strong>bigquery</strong>: support EDIT_DISTANCE (Levinshtein)
function <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4276">#4276</a>
by <a href="https://github.com/esciara"><code>@​esciara</code></a>)</em>
<ul>
<li>:arrow_lower_right: <em>addresses issue <a
href="https://redirect.github.com/tobymao/sqlglot/issues/4275">#4275</a>
opened by <a
href="https://github.com/esciara"><code>@​esciara</code></a></em></li>
</ul>
</li>
</ul>
<h3>:bug: Bug Fixes</h3>
<ul>
<li><a
href="https://github.com/tobymao/sqlglot/commit/fcc05c9daa31c7a51474ec9c72ceafd682359f90"><code>fcc05c9</code></a>
- <strong>bigquery</strong>: Early expand only aliased names in GROUP BY
<em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4246">#4246</a>
by <a
href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/5655cfba7afdf8f95dea53d5ededfde209b77c30"><code>5655cfb</code></a>
- add support for negative intervals in to_interval <em>(commit by <a
href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/51f4d26ed8694365c61fdefd810a420fcfefdeca"><code>51f4d26</code></a>
- generate single argument ArrayConcat without trailing comma fixes <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4259">#4259</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/7fc0055fb04713ba047baa5eda1ce0baf1cc79e2"><code>7fc0055</code></a>
- <strong>clickhouse</strong>: dont parse right-hand side operands of
ARRAY JOIN as Tables <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4258">#4258</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/4254">#4254</a>
opened by <a
href="https://github.com/xtess16"><code>@​xtess16</code></a></em></li>
</ul>
</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/8f49ad87fa795349183d13129110ad59387bfe11"><code>8f49ad8</code></a>
- <strong>clickhouse</strong>: traverse_scope with FINAL modifier
<em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4263">#4263</a>
by <a href="https://github.com/pkit"><code>@​pkit</code></a>)</em>
<ul>
<li>:arrow_lower_right: <em>fixes issue <a
href="https://redirect.github.com/tobymao/sqlglot/issues/4262">#4262</a>
opened by <a
href="https://github.com/obazna"><code>@​obazna</code></a></em></li>
</ul>
</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/83167eaa3039195f756c7b1ad95fc9162f19b1b1"><code>83167ea</code></a>
- hive dialect hierarchy has no CURRENT_TIME func <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4264">#4264</a>
by <a
href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/7a5c7e036fa84eb30bcae75829f3cb94503fa99e"><code>7a5c7e0</code></a>
- <strong>presto</strong>: transpile BIT to BOOLEAN <em>(commit by <a
href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/48be3d89b1df96c7b8d81536862f53a98e414f11"><code>48be3d8</code></a>
- make the semantic diffing aware of changes to non-expression leaves
<em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4268">#4268</a>
by <a
href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/4543fb3cd052dfb20428f5a6254b38def9e756ee"><code>4543fb3</code></a>
- <strong>optimizer</strong>: Fix
merge_subqueries.py::rename_inner_sources() <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4266">#4266</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/4245">#4245</a>
opened by <a
href="https://github.com/daniel769"><code>@​daniel769</code></a></em></li>
</ul>
</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/222152e32521dbc6de3384b18ab4c677239c6088"><code>222152e</code></a>
- <strong>optimizer</strong>: Add type hints for optimizer rules
eliminate &amp; merge subqueries <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4267">#4267</a>
by <a
href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em></li>
</ul>
<h3>:recycle: Refactors</h3>
<ul>
<li><a
href="https://github.com/tobymao/sqlglot/commit/94013a21ca69b90da78dc47b16cd86503736597a"><code>94013a2</code></a>
- simplify _expression_only_args helper in diff module <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4251">#4251</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/222152e32521dbc6de3384b18ab4c677239c6088"><code>222152e</code></a>
fix(optimizer)!: Add type hints for optimizer rules eliminate &amp;
merge subquer...</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/36f68416b3dd0d9ac703dd926d1f74bc43566e0d"><code>36f6841</code></a>
feat(bigquery): support EDIT_DISTANCE (Levinshtein) function (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4276">#4276</a>)</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/4543fb3cd052dfb20428f5a6254b38def9e756ee"><code>4543fb3</code></a>
fix(optimizer): Fix merge_subqueries.py::rename_inner_sources() (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4266">#4266</a>)</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/04dccf3cdaf1c3a0466dda113aba5439f1639ae0"><code>04dccf3</code></a>
feat(tsql): Support for stored procedure options (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4260">#4260</a>)</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/48be3d89b1df96c7b8d81536862f53a98e414f11"><code>48be3d8</code></a>
Fix: make the semantic diffing aware of changes to non-expression leaves
(<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4268">#4268</a>)</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/7a5c7e036fa84eb30bcae75829f3cb94503fa99e"><code>7a5c7e0</code></a>
Fix(presto): transpile BIT to BOOLEAN</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/83167eaa3039195f756c7b1ad95fc9162f19b1b1"><code>83167ea</code></a>
Fix: hive dialect hierarchy has no CURRENT_TIME func (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4264">#4264</a>)</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/8f49ad87fa795349183d13129110ad59387bfe11"><code>8f49ad8</code></a>
Fix(clickhouse): traverse_scope with FINAL modifier (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4263">#4263</a>)</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/7fc0055fb04713ba047baa5eda1ce0baf1cc79e2"><code>7fc0055</code></a>
Fix(clickhouse)!: dont parse right-hand side operands of ARRAY JOIN as
Tables...</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/51f4d26ed8694365c61fdefd810a420fcfefdeca"><code>51f4d26</code></a>
Fix: generate single argument ArrayConcat without trailing comma fixes
<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4259">#4259</a></li>
<li>Additional commits viewable in <a
href="https://github.com/tobymao/sqlglot/compare/v25.5.0...v25.26.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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Oct 23, 2024
1 parent 7b237a3 commit 6165454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ dependencies = ["databricks-sdk~=0.30",
"databricks-labs-lsql>=0.5,<0.13",
"databricks-labs-blueprint>=0.9.1,<0.10",
"PyYAML>=6.0.0,<7.0.0",
"sqlglot>=25.5.0,<25.26",
"sqlglot>=25.5.0,<25.27",
"astroid>=3.3.1"]

[project.optional-dependencies]
Expand Down

0 comments on commit 6165454

Please sign in to comment.