Skip to content

Commit

Permalink
Bump sqlglot from 20.9.0 to 20.10.0 (databrickslabs#91)
Browse files Browse the repository at this point in the history
Bumps [sqlglot](https://github.com/tobymao/sqlglot) from 20.9.0 to
20.10.0.
<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>[v20.10.0] - 2024-01-24</h2>
<h3>:boom: BREAKING CHANGES</h3>
<ul>
<li>
<p>due to <a
href="https://github.com/tobymao/sqlglot/commit/1f5fc39c10b92b94bd94afa5fd038fdb9afeb4b4"><code>1f5fc39</code></a>
- jsonpath parsing <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/2867">#2867</a>
by <a
href="https://github.com/tobymao"><code>@​tobymao</code></a>)</em>:</p>
<p>jsonpath parsing (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/2867">#2867</a>)</p>
</li>
</ul>
<h3>:sparkles: New Features</h3>
<ul>
<li><a
href="https://github.com/tobymao/sqlglot/commit/89b439e2f93b6c3bedb4e58fe4b5014d42dd5080"><code>89b439e</code></a>
- <strong>postgres</strong>: support the INCLUDE clause in INDEX
creation <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/2857">#2857</a>
by <a
href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em>
<ul>
<li>:arrow_lower_right: <em>addresses issue <a
href="https://github.com/tobymao/sqlglot/blob/main/undefined">#2855</a>
opened by <a
href="https://github.com/dezhin"><code>@​dezhin</code></a></em></li>
</ul>
</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/90ffff83266b5714b1371a576d9484dfbe4be155"><code>90ffff8</code></a>
- <strong>clickhouse</strong>: AggregateFunction data type <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/2832">#2832</a>
by <a href="https://github.com/pkit"><code>@​pkit</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/326d3ae7113cca4a67cca3ab3335f7b8dde91f71"><code>326d3ae</code></a>
- improve transpilation of Spark's TO_UTC_TIMESTAMP <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/2861">#2861</a>
by <a
href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em>
<ul>
<li>:arrow_lower_right: <em>addresses issue <a
href="https://github.com/tobymao/sqlglot/blob/main/undefined">#2846</a>
opened by <a
href="https://github.com/hdemers"><code>@​hdemers</code></a></em></li>
</ul>
</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/6d035871feee2b206d73e37b5f9b8c99fc40708f"><code>6d03587</code></a>
- <strong>snowflake</strong>: SHOW SCHEMAS/OBJECTS <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/2845">#2845</a>
by <a
href="https://github.com/tekumara"><code>@​tekumara</code></a>)</em>
<ul>
<li>:arrow_lower_right: <em>addresses issue <a
href="https://github.com/tobymao/sqlglot/blob/main/undefined">#2784</a>
opened by <a
href="https://github.com/tekumara"><code>@​tekumara</code></a></em></li>
</ul>
</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/d5a08b8f3a1cdd87e9560c0fe4f11b0f1586978b"><code>d5a08b8</code></a>
- <strong>optimizer</strong>: improve struct type annotation support for
EQ-delimited kv pairs <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/2863">#2863</a>
by <a
href="https://github.com/fool1280"><code>@​fool1280</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/1f5fc39c10b92b94bd94afa5fd038fdb9afeb4b4"><code>1f5fc39</code></a>
- jsonpath parsing <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/2867">#2867</a>
by <a
href="https://github.com/tobymao"><code>@​tobymao</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/7fd9045488beb88b2726ae906b8769b7963d1b37"><code>7fd9045</code></a>
- add support for rename column <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/2866">#2866</a>
by <a
href="https://github.com/gableh"><code>@​gableh</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/89b781b991ce264cd7f8c44fa67860eb9a587b07"><code>89b781b</code></a>
- <strong>postgres</strong>: add support for the INHERITS property
closes <a
href="https://redirect.github.com/tobymao/sqlglot/pull/2871">#2871</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/970c2022a27d4fc355fedb7af830367a5dd96009"><code>970c202</code></a>
- <strong>postgres</strong>: add support for the SET property <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/2873">#2873</a>
by <a
href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em>
<ul>
<li>:arrow_lower_right: <em>addresses issue <a
href="https://github.com/tobymao/sqlglot/blob/main/undefined">#2872</a>
opened by <a
href="https://github.com/edongashi"><code>@​edongashi</code></a></em></li>
</ul>
</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/6845c37e749448972a231926236c08affb71a64f"><code>6845c37</code></a>
- make the CREATE parser more lenient <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/2875">#2875</a>
by <a
href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li>
</ul>
<h3>:bug: Bug Fixes</h3>
<ul>
<li><a
href="https://github.com/tobymao/sqlglot/commit/bf03a45d8df9abd63b8102e431c13ca0eb0b0fb0"><code>bf03a45</code></a>
- <strong>snowflake</strong>: extend _parse_range to gracefully handle
colon operator <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/2856">#2856</a>
by <a
href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/ad14f4ed1ed3870ae0d7370643c67c235fc89b4b"><code>ad14f4e</code></a>
- qualify alter table table refs in optimizer qualify <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/2862">#2862</a>
by <a
href="https://github.com/z3z1ma"><code>@​z3z1ma</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/859990356210f3091b1b66647c1a674fdb0f2ad9"><code>8599903</code></a>
- <strong>optimizer</strong>: compute external columns for union sopes
correctly <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/2864">#2864</a>
by <a
href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em>
<ul>
<li>:arrow_lower_right: <em>fixes issue <a
href="https://github.com/tobymao/sqlglot/blob/main/undefined">#2860</a>
opened by <a
href="https://github.com/derekpaulsen"><code>@​derekpaulsen</code></a></em></li>
</ul>
</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/3e065f9503607e6c620fc187e2bdc2d45f7fa1dd"><code>3e065f9</code></a>
- <strong>optimizer</strong>: don't copy projection in qualify_outputs
when attaching alias <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/2868">#2868</a>
by <a
href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/a6427585e16fa4b5adc9e01cc22baeb09b2f69bb"><code>a642758</code></a>
- avoid dag cycle with unnesting subqueries closes <a
href="https://redirect.github.com/tobymao/sqlglot/pull/2876">#2876</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/06484532f0e222004e844501a192b8d4aec654c7"><code>0648453</code></a>
- set div type on multiplication closes <a
href="https://redirect.github.com/tobymao/sqlglot/pull/2878">#2878</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/b7fb8006b825ec36d62135877b4e32fccad8d044"><code>b7fb800</code></a>
- <strong>oracle</strong>: generate with time zone for timestamptz fixes
<a
href="https://redirect.github.com/tobymao/sqlglot/pull/2879">#2879</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/8770e3b7855110a82cb3bc05f3cb6c36a88cfdb2"><code>8770e3b</code></a>
- <strong>optimizer</strong>: don't qualify CTEs for DDL/DML statements
<em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/2880">#2880</a>
by <a
href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em>
<ul>
<li>:arrow_lower_right: <em>fixes issue <a
href="https://github.com/tobymao/sqlglot/blob/main/undefined">#2877</a>
opened by <a
href="https://github.com/hsheth2"><code>@​hsheth2</code></a></em></li>
</ul>
</li>
</ul>
<h3>:wrench: Chores</h3>
<ul>
<li><a
href="https://github.com/tobymao/sqlglot/commit/d55cfba7226a61cc8419b3a83eaa0a2ead23be10"><code>d55cfba</code></a>
- move postgres tests <em>(commit by <a
href="https://github.com/tobymao"><code>@​tobymao</code></a>)</em></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/0e43c58a38bb6af63f653062e79626b85f605b63"><code>0e43c58</code></a>
- <strong>parser</strong>: warn when parsing (&gt;1 tokens) SQL into
exp.Command <em>(PR <a
href="https://redirect.github.com/tobymao/sqlglot/pull/2874">#2874</a>
by <a
href="https://github.com/georgesittas"><code>@​georgesittas</code></a>)</em></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tobymao/sqlglot/commit/8770e3b7855110a82cb3bc05f3cb6c36a88cfdb2"><code>8770e3b</code></a>
Fix(optimizer): don't qualify CTEs for DDL/DML statements (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/2880">#2880</a>)</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/b7fb8006b825ec36d62135877b4e32fccad8d044"><code>b7fb800</code></a>
Fix(oracle): generate with time zone for timestamptz fixes <a
href="https://redirect.github.com/tobymao/sqlglot/issues/2879">#2879</a></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/06484532f0e222004e844501a192b8d4aec654c7"><code>0648453</code></a>
fix: set div type on multiplication closes <a
href="https://redirect.github.com/tobymao/sqlglot/issues/2878">#2878</a></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/a6427585e16fa4b5adc9e01cc22baeb09b2f69bb"><code>a642758</code></a>
fix: avoid dag cycle with unnesting subqueries closes <a
href="https://redirect.github.com/tobymao/sqlglot/issues/2876">#2876</a></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/0e43c58a38bb6af63f653062e79626b85f605b63"><code>0e43c58</code></a>
Chore(parser): warn when parsing (&gt;1 tokens) SQL into exp.Command (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/2874">#2874</a>)</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/6845c37e749448972a231926236c08affb71a64f"><code>6845c37</code></a>
Feat: make the CREATE parser more lenient (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/2875">#2875</a>)</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/970c2022a27d4fc355fedb7af830367a5dd96009"><code>970c202</code></a>
Feat(postgres): add support for the SET property (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/2873">#2873</a>)</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/89b781b991ce264cd7f8c44fa67860eb9a587b07"><code>89b781b</code></a>
Feat(postgres): add support for the INHERITS property closes <a
href="https://redirect.github.com/tobymao/sqlglot/issues/2871">#2871</a></li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/7fd9045488beb88b2726ae906b8769b7963d1b37"><code>7fd9045</code></a>
feat: add support for rename column (<a
href="https://redirect.github.com/tobymao/sqlglot/issues/2866">#2866</a>)</li>
<li><a
href="https://github.com/tobymao/sqlglot/commit/b40349cb64832a9274e947ae6dc201db99dc4327"><code>b40349c</code></a>
Refactor!(schema): make find method abstract, get rid of trie parameter
(<a
href="https://redirect.github.com/tobymao/sqlglot/issues/2869">#2869</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/tobymao/sqlglot/compare/v20.9.0...v20.10.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sqlglot&package-manager=pip&previous-version=20.9.0&new-version=20.10.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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 Jan 25, 2024
1 parent 794f49d commit 84f8824
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 @@ -24,7 +24,7 @@ classifiers = [
]
dependencies = [
"databricks-sdk~=0.18.0",
"sqlglot==20.9.0",
"sqlglot==20.10.0",
"databricks-labs-blueprint"
]

Expand Down

0 comments on commit 84f8824

Please sign in to comment.