Skip to content

Commit

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

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.27.0] - 2024-10-22</h2>
<h3>:boom: BREAKING CHANGES</h3>
<ul>
<li>
<p>due to <a
href="https://github.com/tobymao/sqlglot/commit/4d8649940d02ac319f2fec372a52674488f01de5"><code>4d86499</code></a>
- include the target node for Move edits <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4277">#4277</a>
by <a
href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em>:</p>
<p>include the target node for Move edits (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4277">#4277</a>)</p>
</li>
<li>
<p>due to <a
href="https://github.com/tobymao/sqlglot/commit/97719657d1b2074dabfbe54af0e1ea3acd6d4744"><code>9771965</code></a>
- Add support for TIMESTAMP_NTZ_FROM_PARTS <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4280">#4280</a>
by <a
href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em>:</p>
<p>Add support for TIMESTAMP_NTZ_FROM_PARTS (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4280">#4280</a>)</p>
</li>
<li>
<p>due to <a
href="https://github.com/tobymao/sqlglot/commit/768adb3d85ed88931d761e5ecc8fb4a3a40d0dc5"><code>768adb3</code></a>
- time string literals containing fractional seconds <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4269">#4269</a>
by <a
href="https://github.com/treysp"><code>@​treysp</code></a>)</em>:</p>
<p>time string literals containing fractional seconds (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4269">#4269</a>)</p>
</li>
</ul>
<h3>:sparkles: New Features</h3>
<ul>
<li><a
href="https://github.com/tobymao/sqlglot/commit/97719657d1b2074dabfbe54af0e1ea3acd6d4744"><code>9771965</code></a>
- <strong>snowflake</strong>: Add support for TIMESTAMP_NTZ_FROM_PARTS
<em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4280">#4280</a>
by <a
href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/9e11654c6ebf7451f14d46c006070effe452519a"><code>9e11654</code></a>
- <strong>clickhouse</strong>: add geometry types <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4278">#4278</a>
by <a
href="https://github.com/jwhitaker-gridcog"><code>@​jwhitaker-gridcog</code></a>)</em></li>
</ul>
<h3>:bug: Bug Fixes</h3>
<ul>
<li><a
href="https://github.com/tobymao/sqlglot/commit/c25a9ab577d7f0a1056e8afab680ca7801c47fff"><code>c25a9ab</code></a>
- <strong>tsql</strong>: Keep CTE's attached to the query when emulating
IF NOT EXISTS <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4279">#4279</a>
by <a
href="https://github.com/erindru"><code>@​erindru</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/768adb3d85ed88931d761e5ecc8fb4a3a40d0dc5"><code>768adb3</code></a>
- <strong>clickhouse</strong>: time string literals containing
fractional seconds <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4269">#4269</a>
by <a
href="https://github.com/treysp"><code>@​treysp</code></a>)</em></li>
</ul>
<h3>:recycle: Refactors</h3>
<ul>
<li><a
href="https://github.com/tobymao/sqlglot/commit/4d8649940d02ac319f2fec372a52674488f01de5"><code>4d86499</code></a>
- <strong>diff</strong>: include the target node for Move edits <em>(PR
<a
href="https://redirect.github.com/tobymao/sqlglot/pull/4277">#4277</a>
by <a
href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li>
</ul>
<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>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tobymao/sqlglot/commit/768adb3d85ed88931d761e5ecc8fb4a3a40d0dc5"><code>768adb3</code></a>
Fix(clickhouse)!: time string literals containing fractional seconds (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4269">#4269</a>)</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/9edd92f67fcd94d26eafab84fee5b1d8d967cf52"><code>9edd92f</code></a>
Fix style</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/9e11654c6ebf7451f14d46c006070effe452519a"><code>9e11654</code></a>
Feat(clickhouse): add geometry types (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4278">#4278</a>)</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/97719657d1b2074dabfbe54af0e1ea3acd6d4744"><code>9771965</code></a>
feat(snowflake)!: Add support for TIMESTAMP_NTZ_FROM_PARTS (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4280">#4280</a>)</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/4d8649940d02ac319f2fec372a52674488f01de5"><code>4d86499</code></a>
Refactor(diff)!: include the target node for Move edits (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4277">#4277</a>)</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/c25a9ab577d7f0a1056e8afab680ca7801c47fff"><code>c25a9ab</code></a>
Fix(tsql): Keep CTE's attached to the query when emulating IF NOT EXISTS
(<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4279">#4279</a>)</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/2b4229c406e13c462aaafebcaf51cab62d184ec1"><code>2b4229c</code></a>
docs: update API docs, CHANGELOG.md for v25.26.0 [skip ci]</li>
<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>Additional commits viewable in <a
href="https://github.com/tobymao/sqlglot/compare/v25.5.0...v25.27.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 fe7b889 commit 5d55e7a
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.27",
"sqlglot>=25.5.0,<25.28",
"astroid>=3.3.1"]

[project.optional-dependencies]
Expand Down

0 comments on commit 5d55e7a

Please sign in to comment.