Skip to content

Commit

Permalink
Update sqlglot requirement from <26.4,>=25.5.0 to >=25.5.0,<26.7 (#3677)
Browse files Browse the repository at this point in the history
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>[v26.6.0] - 2025-02-10</h2>
<h3>:boom: BREAKING CHANGES</h3>
<ul>
<li>
<p>due to <a
href="https://github.com/tobymao/sqlglot/commit/a790e41736884bde7a8172f458db92d80064556f"><code>a790e41</code></a>
- avoid redundant casts in FROM/TO_UTC_TIMESTAMP <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4725">#4725</a>
by <a
href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em>:</p>
<p>avoid redundant casts in FROM/TO_UTC_TIMESTAMP (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4725">#4725</a>)</p>
</li>
</ul>
<h3>:bug: Bug Fixes</h3>
<ul>
<li><a
href="https://github.com/tobymao/sqlglot/commit/a790e41736884bde7a8172f458db92d80064556f"><code>a790e41</code></a>
- <strong>spark</strong>: avoid redundant casts in FROM/TO_UTC_TIMESTAMP
<em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4725">#4725</a>
by <a
href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li>
</ul>
<h2>[v26.5.0] - 2025-02-10</h2>
<h3>:boom: BREAKING CHANGES</h3>
<ul>
<li>
<p>due to <a
href="https://github.com/tobymao/sqlglot/commit/da52181f1cd3ec22e5ac597de50036278d2e66e5"><code>da52181</code></a>
- TO_DATE parsing with safe flag true <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4713">#4713</a>
by <a
href="https://github.com/geooo109"><code>@​geooo109</code></a>)</em>:</p>
<p>TO_DATE parsing with safe flag true (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4713">#4713</a>)</p>
</li>
<li>
<p>due to <a
href="https://github.com/tobymao/sqlglot/commit/b12aba9be6043053f79ff50f7bdcdfdff19ddf52"><code>b12aba9</code></a>
- Improve UUID support <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4718">#4718</a>
by <a
href="https://github.com/amachanic"><code>@​amachanic</code></a>)</em>:</p>
<p>Improve UUID support (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4718">#4718</a>)</p>
</li>
<li>
<p>due to <a
href="https://github.com/tobymao/sqlglot/commit/27ec74bab67afba930c4ea66130bcba5e9bb5ba1"><code>27ec74b</code></a>
- Properly set 'this' when parsing IDENTITY <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4719">#4719</a>
by <a
href="https://github.com/amachanic"><code>@​amachanic</code></a>)</em>:</p>
<p>Properly set 'this' when parsing IDENTITY (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4719">#4719</a>)</p>
</li>
</ul>
<h3>:sparkles: New Features</h3>
<ul>
<li><a
href="https://github.com/tobymao/sqlglot/commit/c31947b2386f579d9d12d2d4053461a75855b9be"><code>c31947b</code></a>
- <strong>postgres</strong>: Support generation of exp.CountIf <em>(PR
<a
href="https://redirect.github.com/tobymao/sqlglot/pull/4709">#4709</a>
by <a
href="https://github.com/VaggelisD"><code>@​VaggelisD</code></a>)</em></li>
</ul>
<h3>:bug: Bug Fixes</h3>
<ul>
<li><a
href="https://github.com/tobymao/sqlglot/commit/b842d9383827d18482e36d6ea3041180a74d0abf"><code>b842d93</code></a>
- <strong>postgres</strong>: enable qualification of queries using the
ROWS FROM syntax <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4699">#4699</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/TobikoData/sqlmesh/issues/3777">#3777</a>
opened by <a
href="https://github.com/simon-pactum"><code>@​simon-pactum</code></a></em></li>
</ul>
</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/5f9030786f8489e70aee70acabee440ecf23699c"><code>5f90307</code></a>
- <strong>duckdb</strong>: enable support for user-defined types <em>(PR
<a
href="https://redirect.github.com/tobymao/sqlglot/pull/4702">#4702</a>
by <a
href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/23283cacda3c4d6e4f6453cdef1a9e73e3bc8d24"><code>23283ca</code></a>
- avoid concealing dialect module exception in _try_load <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4708">#4708</a>
by <a
href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/707d45ecc7e233f57ada8d6dfaf6c621d6ee3f51"><code>707d45e</code></a>
- <strong>tsql</strong>: support default values on definitons and the
OUTPUT/OUT/READ_ONLY syntax <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4704">#4704</a>
by <a
href="https://github.com/geooo109"><code>@​geooo109</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/da52181f1cd3ec22e5ac597de50036278d2e66e5"><code>da52181</code></a>
- <strong>hive</strong>: TO_DATE parsing with safe flag true <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4713">#4713</a>
by <a
href="https://github.com/geooo109"><code>@​geooo109</code></a>)</em>
<ul>
<li>:arrow_lower_right: <em>fixes issue <a
href="https://redirect.github.com/tobymao/sqlglot/issues/4707">#4707</a>
opened by <a
href="https://github.com/jiangli001"><code>@​jiangli001</code></a></em></li>
</ul>
</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/b12aba9be6043053f79ff50f7bdcdfdff19ddf52"><code>b12aba9</code></a>
- <strong>tsql, postgres</strong>: Improve UUID support <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4718">#4718</a>
by <a
href="https://github.com/amachanic"><code>@​amachanic</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/27ec74bab67afba930c4ea66130bcba5e9bb5ba1"><code>27ec74b</code></a>
- <strong>tsql</strong>: Properly set 'this' when parsing IDENTITY
<em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4719">#4719</a>
by <a
href="https://github.com/amachanic"><code>@​amachanic</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/f7e22d40cddfdee4a3d4912aef3161546528d400"><code>f7e22d4</code></a>
- don't change query if no join marks in eliminate_join_marks, fixes <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4721">#4721</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/b918ff1bc4e256bd1b84802327ffe4acf36d2d45"><code>b918ff1</code></a>
- <strong>bigquery</strong>: type-annotated array literal logic edge
case <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4724">#4724</a>
by <a
href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li>
</ul>
<h2>[v26.4.1] - 2025-02-03</h2>
<h3>:bug: Bug Fixes</h3>
<ul>
<li><a
href="https://github.com/tobymao/sqlglot/commit/dd1cdb0b91ac597a9cb1f1f517a616c264f5b654"><code>dd1cdb0</code></a>
- <strong>redshift</strong>: generate proper syntax for column type
alteration <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/4698">#4698</a>
by <a
href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li>
</ul>
<h2>[v26.4.0] - 2025-02-03</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/a790e41736884bde7a8172f458db92d80064556f"><code>a790e41</code></a>
Fix(spark)!: avoid redundant casts in FROM/TO_UTC_TIMESTAMP (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4725">#4725</a>)</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/7fe40c8ed7a1cc7dbad8e9fc800e40ef8e3cd14a"><code>7fe40c8</code></a>
docs: update API docs, CHANGELOG.md for v26.5.0 [skip ci]</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/b918ff1bc4e256bd1b84802327ffe4acf36d2d45"><code>b918ff1</code></a>
Fix(bigquery): type-annotated array literal logic edge case (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4724">#4724</a>)</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/f7e22d40cddfdee4a3d4912aef3161546528d400"><code>f7e22d4</code></a>
Fix: don't change query if no join marks in eliminate_join_marks, fixes
<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4721">#4721</a></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/27ec74bab67afba930c4ea66130bcba5e9bb5ba1"><code>27ec74b</code></a>
fix(tsql)!: Properly set 'this' when parsing IDENTITY (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4719">#4719</a>)</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/13eeec462f58b66d78e5953578ec2d7e4ff6fad7"><code>13eeec4</code></a>
Fix cicd warning</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/b12aba9be6043053f79ff50f7bdcdfdff19ddf52"><code>b12aba9</code></a>
fix(tsql, postgres)!: Improve UUID support (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4718">#4718</a>)</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/da52181f1cd3ec22e5ac597de50036278d2e66e5"><code>da52181</code></a>
fix(hive)!: TO_DATE parsing with safe flag true (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4713">#4713</a>)</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/707d45ecc7e233f57ada8d6dfaf6c621d6ee3f51"><code>707d45e</code></a>
fix(tsql): support default values on definitons and the
OUTPUT/OUT/READ_ONLY ...</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/c31947b2386f579d9d12d2d4053461a75855b9be"><code>c31947b</code></a>
feat(postgres): Support generation of exp.CountIf (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/4709">#4709</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/tobymao/sqlglot/compare/v25.5.0...v26.6.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>
  • Loading branch information
dependabot[bot] authored Feb 13, 2025
1 parent 7403ac8 commit 84d2f11
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.40,<0.42",
"databricks-labs-lsql>=0.14.0,<0.15",
"databricks-labs-blueprint>=0.9.1,<0.11",
"PyYAML>=6.0.0,<7.0.0",
"sqlglot>=25.5.0,<26.4",
"sqlglot>=25.5.0,<26.7",
"astroid>=3.3.1"]

[project.optional-dependencies]
Expand Down

0 comments on commit 84d2f11

Please sign in to comment.