Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump sqlglot from 20.9.0 to 20.10.0 #91

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 25, 2024

Bumps sqlglot from 20.9.0 to 20.10.0.

Changelog

Sourced from sqlglot's changelog.

[v20.10.0] - 2024-01-24

💥 BREAKING CHANGES

✨ New Features

🐛 Bug Fixes

🔧 Chores

Commits
  • 8770e3b Fix(optimizer): don't qualify CTEs for DDL/DML statements (#2880)
  • b7fb800 Fix(oracle): generate with time zone for timestamptz fixes #2879
  • 0648453 fix: set div type on multiplication closes #2878
  • a642758 fix: avoid dag cycle with unnesting subqueries closes #2876
  • 0e43c58 Chore(parser): warn when parsing (>1 tokens) SQL into exp.Command (#2874)
  • 6845c37 Feat: make the CREATE parser more lenient (#2875)
  • 970c202 Feat(postgres): add support for the SET property (#2873)
  • 89b781b Feat(postgres): add support for the INHERITS property closes #2871
  • 7fd9045 feat: add support for rename column (#2866)
  • b40349c Refactor!(schema): make find method abstract, get rid of trie parameter (#2869)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)

@dependabot dependabot bot requested a review from a team as a code owner January 25, 2024 10:05
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 25, 2024
@dependabot dependabot bot requested a review from bishwajit-db January 25, 2024 10:05
Bumps [sqlglot](https://github.com/tobymao/sqlglot) from 20.9.0 to 20.10.0.
- [Changelog](https://github.com/tobymao/sqlglot/blob/main/CHANGELOG.md)
- [Commits](tobymao/sqlglot@v20.9.0...v20.10.0)

---
updated-dependencies:
- dependency-name: sqlglot
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/sqlglot-20.10.0 branch from d9f9ab3 to 645d5b6 Compare January 25, 2024 11:53
@sundarshankar89 sundarshankar89 added this pull request to the merge queue Jan 25, 2024
Merged via the queue into main with commit f8e4f6a Jan 25, 2024
3 checks passed
@sundarshankar89 sundarshankar89 deleted the dependabot/pip/sqlglot-20.10.0 branch January 25, 2024 13:50
nfx added a commit that referenced this pull request Jan 30, 2024
* Added custom Databricks dialect test cases and lateral struct parsing ([#77](#77)).
* Extended Snowflake to Databricks functions coverage ([#72](#72), [#69](#69)).
* Added `databricks labs remorph transpile` documentation for installation and usage ([#73](#73)).

Dependency updates:

 * Bump sqlglot from 20.8.0 to 20.9.0 ([#83](#83)).
 * Updated databricks-sdk requirement from ~=0.17.0 to ~=0.18.0 ([#90](#90)).
 * Bump sqlglot from 20.9.0 to 20.10.0 ([#91](#91)).
nfx added a commit that referenced this pull request Jan 30, 2024
* Added baseline for Databricks CLI frontend ([#60](#60)).
* Added custom Databricks dialect test cases and lateral struct parsing ([#77](#77)).
* Extended Snowflake to Databricks functions coverage ([#72](#72), [#69](#69)).
* Added `databricks labs remorph transpile` documentation for installation and usage ([#73](#73)).

Dependency updates:

 * Bump sqlglot from 20.8.0 to 20.9.0 ([#83](#83)).
 * Updated databricks-sdk requirement from ~=0.17.0 to ~=0.18.0 ([#90](#90)).
 * Bump sqlglot from 20.9.0 to 20.10.0 ([#91](#91)).
@nfx nfx mentioned this pull request Jan 30, 2024
nfx added a commit that referenced this pull request Jan 30, 2024
* Added baseline for Databricks CLI frontend ([#60](#60)).
* Added custom Databricks dialect test cases and lateral struct parsing ([#77](#77)).
* Extended Snowflake to Databricks functions coverage ([#72](#72), [#69](#69)).
* Added `databricks labs remorph transpile` documentation for installation and usage ([#73](#73)).

Dependency updates:

 * Bump sqlglot from 20.8.0 to 20.9.0 ([#83](#83)).
 * Updated databricks-sdk requirement from ~=0.17.0 to ~=0.18.0 ([#90](#90)).
 * Bump sqlglot from 20.9.0 to 20.10.0 ([#91](#91)).
@nfx nfx mentioned this pull request Jan 30, 2024
sundarshankar89 pushed a commit that referenced this pull request Jan 30, 2024
* Added baseline for Databricks CLI frontend
([#60](#60)).
* Added custom Databricks dialect test cases and lateral struct parsing
([#77](#77)).
* Extended Snowflake to Databricks functions coverage
([#72](#72),
[#69](#69)).
* Added `databricks labs remorph transpile` documentation for
installation and usage
([#73](#73)).

Dependency updates:

* Bump sqlglot from 20.8.0 to 20.9.0
([#83](#83)).
* Updated databricks-sdk requirement from ~=0.17.0 to ~=0.18.0
([#90](#90)).
* Bump sqlglot from 20.9.0 to 20.10.0
([#91](#91)).
sundarshankar89 pushed a commit to sundarshankar89/remorph that referenced this pull request Jan 2, 2025
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>
sundarshankar89 pushed a commit to sundarshankar89/remorph that referenced this pull request Jan 3, 2025
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>
sundarshankar89 pushed a commit to sundarshankar89/remorph that referenced this pull request Jan 3, 2025
* Added baseline for Databricks CLI frontend
([databrickslabs#60](databrickslabs#60)).
* Added custom Databricks dialect test cases and lateral struct parsing
([databrickslabs#77](databrickslabs#77)).
* Extended Snowflake to Databricks functions coverage
([databrickslabs#72](databrickslabs#72),
[databrickslabs#69](databrickslabs#69)).
* Added `databricks labs remorph transpile` documentation for
installation and usage
([databrickslabs#73](databrickslabs#73)).

Dependency updates:

* Bump sqlglot from 20.8.0 to 20.9.0
([databrickslabs#83](databrickslabs#83)).
* Updated databricks-sdk requirement from ~=0.17.0 to ~=0.18.0
([databrickslabs#90](databrickslabs#90)).
* Bump sqlglot from 20.9.0 to 20.10.0
([databrickslabs#91](databrickslabs#91)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant