-
Notifications
You must be signed in to change notification settings - Fork 36
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 21.0.0 to 21.1.2 #137
Conversation
Bumps [sqlglot](https://github.com/tobymao/sqlglot) from 21.0.0 to 21.1.0. - [Changelog](https://github.com/tobymao/sqlglot/blob/main/CHANGELOG.md) - [Commits](tobymao/sqlglot@v21.0.0...v21.1.0) --- updated-dependencies: - dependency-name: sqlglot dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
1d15508
to
5f46dbf
Compare
A newer version of sqlglot exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #137 +/- ##
==========================================
+ Coverage 92.44% 95.22% +2.77%
==========================================
Files 14 14
Lines 940 942 +2
Branches 166 167 +1
==========================================
+ Hits 869 897 +28
+ Misses 45 25 -20
+ Partials 26 20 -6 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Added conversion logic for Try_to_Decimal without format ([#142](#142)). * Identify Root Table for folder containing SQLs ([#124](#124)). * Install Script ([#106](#106)). * Integration Test Suite ([#145](#145)). Dependency updates: * Updated databricks-sdk requirement from <0.20,>=0.18 to >=0.18,<0.21 ([#143](#143)). * Bump sqlglot from 21.0.0 to 21.1.2 ([#137](#137)). * Bump sqlglot from 21.1.2 to 21.2.0 ([#147](#147)). * Bump sqlglot from 21.2.0 to 21.2.1 ([#148](#148)).
* Added conversion logic for Try_to_Decimal without format ([#142](#142)). * Identify Root Table for folder containing SQLs ([#124](#124)). * Install Script ([#106](#106)). * Integration Test Suite ([#145](#145)). Dependency updates: * Updated databricks-sdk requirement from <0.20,>=0.18 to >=0.18,<0.21 ([#143](#143)). * Bump sqlglot from 21.0.0 to 21.1.2 ([#137](#137)). * Bump sqlglot from 21.1.2 to 21.2.0 ([#147](#147)). * Bump sqlglot from 21.2.0 to 21.2.1 ([#148](#148)).
Bumps [sqlglot](https://github.com/tobymao/sqlglot) from 21.0.0 to 21.1.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>[v21.1.0] - 2024-02-12</h2> <h3>:sparkles: New Features</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/e71d4899e6744812fdefc2704c66bbd6043b5bc9"><code>e71d489</code></a> - add array and tuple helpers <em>(commit by <a href="https://github.com/tobymao"><code>@tobymao</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/876e07580bb2de06b587fc8ad40eb67604ae8507"><code>876e075</code></a> - <strong>postgres</strong>: root operator closes <a href="https://redirect.github.com/tobymao/sqlglot/pull/2940">#2940</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/e731276dd5490a7d294430e0887eebf19e16d28f"><code>e731276</code></a> - <strong>snowflake</strong>: add support for SHOW USERS <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2948">#2948</a> by <a href="https://github.com/DanCardin"><code>@DanCardin</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/b9d44688c2b785212db635f121b686df02e2dec9"><code>b9d4468</code></a> - <strong>tableau</strong>: identifier and quotes closes <a href="https://redirect.github.com/tobymao/sqlglot/pull/2950">#2950</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/f8d9dbf6744f95bf4b7517e8bcc35dd3a6f70c5d"><code>f8d9dbf</code></a> - <strong>sqlite</strong>: add support for IIF <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2951">#2951</a> by <a href="https://github.com/georgesittas"><code>@georgesittas</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/b7555516c6bf038dc39c4bba2b243839ceb6e3b5"><code>b755551</code></a> - <strong>clickhouse</strong>: add basic support for system statement <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2953">#2953</a> by <a href="https://github.com/GaliFFun"><code>@GaliFFun</code></a>)</em></li> </ul> <h3>:bug: Bug Fixes</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/844018b8d3a3398d746fdc04c966c7e19d311998"><code>844018b</code></a> - explode_outer to unnest closes <a href="https://redirect.github.com/tobymao/sqlglot/pull/2941">#2941</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/159da4523d6eb3ca6853d631bb98dc8f13c7b0fb"><code>159da45</code></a> - posexplode_outer to unnest <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2942">#2942</a> by <a href="https://github.com/chelsea-lin"><code>@chelsea-lin</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/76d66340e566bd9fa8c783f5d311101eb2e80480"><code>76d6634</code></a> - <strong>spark</strong>: CREATE TABLE ... PARTITIONED BY fixes <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2937">#2937</a> by <a href="https://github.com/barakalon"><code>@barakalon</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/d07ddf9b460c1b6f672fda4f34dc9231419e6c9d"><code>d07ddf9</code></a> - <strong>optimizer</strong>: remove redundant casts <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2945">#2945</a> by <a href="https://github.com/barakalon"><code>@barakalon</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/b70a394222bf209298026fd100f6b9498acf9fff"><code>b70a394</code></a> - if doesn't support different types <em>(commit by <a href="https://github.com/tobymao"><code>@tobymao</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/6a988e0160022d33623cd036bf84bb0b222c9062"><code>6a988e0</code></a> - <strong>bigquery</strong>: fix annotation of timestamp(x) <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2946">#2946</a> by <a href="https://github.com/georgesittas"><code>@georgesittas</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/78e6d0de83efbff1d3b61c8550db56c1819f7c22"><code>78e6d0d</code></a> - <strong>optimizer</strong>: qualify_columns optimizations for wide tables <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2955">#2955</a> by <a href="https://github.com/barakalon"><code>@barakalon</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/c20cc70dfc7f6395af157521c7e99074d697beb4"><code>c20cc70</code></a> - <strong>redshift</strong>: don't assume Table is an unnested Column if Join has a predicate <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2956">#2956</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/2952">#2952</a> opened by <a href="https://github.com/vidit-wisdom"><code>@vidit-wisdom</code></a></em></li> </ul> </li> </ul> <h3>:wrench: Chores</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/c4524ce1e6a85e16db7ea0289116d0160732dc51"><code>c4524ce</code></a> - fix unit test <em>(commit by <a href="https://github.com/tobymao"><code>@tobymao</code></a>)</em></li> </ul> <h2>[v21.0.2] - 2024-02-08</h2> <h3>:sparkles: New Features</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/1842c96611cadb0227dd3ce8f42457679ab0e08b"><code>1842c96</code></a> - <strong>clickhouse</strong>: add support for LIMIT BY clause <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2926">#2926</a> by <a href="https://github.com/georgesittas"><code>@georgesittas</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/9241858e559f089b166d9b794e3ebb395624d84a"><code>9241858</code></a> - add typing for explode closes <a href="https://redirect.github.com/tobymao/sqlglot/pull/2927">#2927</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/85073d1538de8ceef3e5c622a901efd9e6bd38e3"><code>85073d1</code></a> - transpile multi-arg DISTINCT expression <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2936">#2936</a> by <a href="https://github.com/georgesittas"><code>@georgesittas</code></a>)</em> <ul> <li>:arrow_lower_right: <em>addresses issue <a href="https://redirect.github.com/tobymao/sqlglot/issues/2930">#2930</a> opened by <a href="https://github.com/Jake-00"><code>@Jake-00</code></a></em></li> </ul> </li> </ul> <h3>:bug: Bug Fixes</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/b8276262bdca57e358284fadfdd468d2bc957e84"><code>b827626</code></a> - remove find method from Schema <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2934">#2934</a> by <a href="https://github.com/georgesittas"><code>@georgesittas</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/08cd117322302f08c95889ebf8699f4171c1d504"><code>08cd117</code></a> - <strong>postgres</strong>: fallback to parameter parser if heredoc is untokenizable <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2935">#2935</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/2931">#2931</a> opened by <a href="https://github.com/eric-zhu"><code>@eric-zhu</code></a></em></li> </ul> </li> </ul> <h3>:wrench: Chores</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/e4b5edbef42944b44d11c35aea31411ce3d79826"><code>e4b5edb</code></a> - bump sqlglotrs to 0.1.1 <em>(commit by <a href="https://github.com/georgesittas"><code>@georgesittas</code></a>)</em></li> </ul> <h2>[v21.0.1] - 2024-02-07</h2> <h3>:sparkles: New Features</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/3a20eaccbf5d5a80bd24b95c837cca8103dfe70a"><code>3a20eac</code></a> - <strong>clickhouse</strong>: add support for JSONExtractString, clean up some helpers <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2925">#2925</a> by <a href="https://github.com/georgesittas"><code>@georgesittas</code></a>)</em> <ul> <li>:arrow_lower_right: <em>addresses issue <a href="https://redirect.github.com/tobymao/sqlglot/issues/2051">#2051</a> opened by <a href="https://github.com/BTheunissen"><code>@BTheunissen</code></a></em></li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/c20cc70dfc7f6395af157521c7e99074d697beb4"><code>c20cc70</code></a> Fix(redshift): don't assume Table is an unnested Column if Join has a predica...</li> <li><a href="https://github.com/tobymao/sqlglot/commit/78e6d0de83efbff1d3b61c8550db56c1819f7c22"><code>78e6d0d</code></a> fix(optimizer): qualify_columns optimizations for wide tables (<a href="https://redirect.github.com/tobymao/sqlglot/issues/2955">#2955</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/b7555516c6bf038dc39c4bba2b243839ceb6e3b5"><code>b755551</code></a> feat(clickhouse): add basic support for system statement (<a href="https://redirect.github.com/tobymao/sqlglot/issues/2953">#2953</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/f8d9dbf6744f95bf4b7517e8bcc35dd3a6f70c5d"><code>f8d9dbf</code></a> Feat(sqlite): add support for IIF (<a href="https://redirect.github.com/tobymao/sqlglot/issues/2951">#2951</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/b9d44688c2b785212db635f121b686df02e2dec9"><code>b9d4468</code></a> feat(tableau): identifier and quotes closes <a href="https://redirect.github.com/tobymao/sqlglot/issues/2950">#2950</a></li> <li><a href="https://github.com/tobymao/sqlglot/commit/6a988e0160022d33623cd036bf84bb0b222c9062"><code>6a988e0</code></a> Fix(bigquery): fix annotation of timestamp(x) (<a href="https://redirect.github.com/tobymao/sqlglot/issues/2946">#2946</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/f752c0c8668275c24f47f8a6c8ce4e5a9edbc5c2"><code>f752c0c</code></a> Add a few tests for snowflake SHOW USERS</li> <li><a href="https://github.com/tobymao/sqlglot/commit/e731276dd5490a7d294430e0887eebf19e16d28f"><code>e731276</code></a> Feat(snowflake): add support for SHOW USERS (<a href="https://redirect.github.com/tobymao/sqlglot/issues/2948">#2948</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/ce1073fbae914e07f166a34a9509a56e09fdbc1e"><code>ce1073f</code></a> fix build</li> <li><a href="https://github.com/tobymao/sqlglot/commit/b70a394222bf209298026fd100f6b9498acf9fff"><code>b70a394</code></a> fix: if doesn't support different types</li> <li>Additional commits viewable in <a href="https://github.com/tobymao/sqlglot/compare/v21.0.0...v21.1.0">compare view</a></li> </ul> </details> <br /> [](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> Co-authored-by: vijaypavann-db <[email protected]> Co-authored-by: Vijay Pavan Nissankararao <[email protected]> Co-authored-by: SundarShankar89 <[email protected]>
Bumps [sqlglot](https://github.com/tobymao/sqlglot) from 21.0.0 to 21.1.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>[v21.1.0] - 2024-02-12</h2> <h3>:sparkles: New Features</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/e71d4899e6744812fdefc2704c66bbd6043b5bc9"><code>e71d489</code></a> - add array and tuple helpers <em>(commit by <a href="https://github.com/tobymao"><code>@tobymao</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/876e07580bb2de06b587fc8ad40eb67604ae8507"><code>876e075</code></a> - <strong>postgres</strong>: root operator closes <a href="https://redirect.github.com/tobymao/sqlglot/pull/2940">#2940</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/e731276dd5490a7d294430e0887eebf19e16d28f"><code>e731276</code></a> - <strong>snowflake</strong>: add support for SHOW USERS <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2948">#2948</a> by <a href="https://github.com/DanCardin"><code>@DanCardin</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/b9d44688c2b785212db635f121b686df02e2dec9"><code>b9d4468</code></a> - <strong>tableau</strong>: identifier and quotes closes <a href="https://redirect.github.com/tobymao/sqlglot/pull/2950">#2950</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/f8d9dbf6744f95bf4b7517e8bcc35dd3a6f70c5d"><code>f8d9dbf</code></a> - <strong>sqlite</strong>: add support for IIF <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2951">#2951</a> by <a href="https://github.com/georgesittas"><code>@georgesittas</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/b7555516c6bf038dc39c4bba2b243839ceb6e3b5"><code>b755551</code></a> - <strong>clickhouse</strong>: add basic support for system statement <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2953">#2953</a> by <a href="https://github.com/GaliFFun"><code>@GaliFFun</code></a>)</em></li> </ul> <h3>:bug: Bug Fixes</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/844018b8d3a3398d746fdc04c966c7e19d311998"><code>844018b</code></a> - explode_outer to unnest closes <a href="https://redirect.github.com/tobymao/sqlglot/pull/2941">#2941</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/159da4523d6eb3ca6853d631bb98dc8f13c7b0fb"><code>159da45</code></a> - posexplode_outer to unnest <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2942">#2942</a> by <a href="https://github.com/chelsea-lin"><code>@chelsea-lin</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/76d66340e566bd9fa8c783f5d311101eb2e80480"><code>76d6634</code></a> - <strong>spark</strong>: CREATE TABLE ... PARTITIONED BY fixes <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2937">#2937</a> by <a href="https://github.com/barakalon"><code>@barakalon</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/d07ddf9b460c1b6f672fda4f34dc9231419e6c9d"><code>d07ddf9</code></a> - <strong>optimizer</strong>: remove redundant casts <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2945">#2945</a> by <a href="https://github.com/barakalon"><code>@barakalon</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/b70a394222bf209298026fd100f6b9498acf9fff"><code>b70a394</code></a> - if doesn't support different types <em>(commit by <a href="https://github.com/tobymao"><code>@tobymao</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/6a988e0160022d33623cd036bf84bb0b222c9062"><code>6a988e0</code></a> - <strong>bigquery</strong>: fix annotation of timestamp(x) <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2946">#2946</a> by <a href="https://github.com/georgesittas"><code>@georgesittas</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/78e6d0de83efbff1d3b61c8550db56c1819f7c22"><code>78e6d0d</code></a> - <strong>optimizer</strong>: qualify_columns optimizations for wide tables <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2955">#2955</a> by <a href="https://github.com/barakalon"><code>@barakalon</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/c20cc70dfc7f6395af157521c7e99074d697beb4"><code>c20cc70</code></a> - <strong>redshift</strong>: don't assume Table is an unnested Column if Join has a predicate <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2956">#2956</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/2952">#2952</a> opened by <a href="https://github.com/vidit-wisdom"><code>@vidit-wisdom</code></a></em></li> </ul> </li> </ul> <h3>:wrench: Chores</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/c4524ce1e6a85e16db7ea0289116d0160732dc51"><code>c4524ce</code></a> - fix unit test <em>(commit by <a href="https://github.com/tobymao"><code>@tobymao</code></a>)</em></li> </ul> <h2>[v21.0.2] - 2024-02-08</h2> <h3>:sparkles: New Features</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/1842c96611cadb0227dd3ce8f42457679ab0e08b"><code>1842c96</code></a> - <strong>clickhouse</strong>: add support for LIMIT BY clause <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2926">#2926</a> by <a href="https://github.com/georgesittas"><code>@georgesittas</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/9241858e559f089b166d9b794e3ebb395624d84a"><code>9241858</code></a> - add typing for explode closes <a href="https://redirect.github.com/tobymao/sqlglot/pull/2927">#2927</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/85073d1538de8ceef3e5c622a901efd9e6bd38e3"><code>85073d1</code></a> - transpile multi-arg DISTINCT expression <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2936">#2936</a> by <a href="https://github.com/georgesittas"><code>@georgesittas</code></a>)</em> <ul> <li>:arrow_lower_right: <em>addresses issue <a href="https://redirect.github.com/tobymao/sqlglot/issues/2930">#2930</a> opened by <a href="https://github.com/Jake-00"><code>@Jake-00</code></a></em></li> </ul> </li> </ul> <h3>:bug: Bug Fixes</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/b8276262bdca57e358284fadfdd468d2bc957e84"><code>b827626</code></a> - remove find method from Schema <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2934">#2934</a> by <a href="https://github.com/georgesittas"><code>@georgesittas</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/08cd117322302f08c95889ebf8699f4171c1d504"><code>08cd117</code></a> - <strong>postgres</strong>: fallback to parameter parser if heredoc is untokenizable <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2935">#2935</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/2931">#2931</a> opened by <a href="https://github.com/eric-zhu"><code>@eric-zhu</code></a></em></li> </ul> </li> </ul> <h3>:wrench: Chores</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/e4b5edbef42944b44d11c35aea31411ce3d79826"><code>e4b5edb</code></a> - bump sqlglotrs to 0.1.1 <em>(commit by <a href="https://github.com/georgesittas"><code>@georgesittas</code></a>)</em></li> </ul> <h2>[v21.0.1] - 2024-02-07</h2> <h3>:sparkles: New Features</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/3a20eaccbf5d5a80bd24b95c837cca8103dfe70a"><code>3a20eac</code></a> - <strong>clickhouse</strong>: add support for JSONExtractString, clean up some helpers <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/2925">#2925</a> by <a href="https://github.com/georgesittas"><code>@georgesittas</code></a>)</em> <ul> <li>:arrow_lower_right: <em>addresses issue <a href="https://redirect.github.com/tobymao/sqlglot/issues/2051">#2051</a> opened by <a href="https://github.com/BTheunissen"><code>@BTheunissen</code></a></em></li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/c20cc70dfc7f6395af157521c7e99074d697beb4"><code>c20cc70</code></a> Fix(redshift): don't assume Table is an unnested Column if Join has a predica...</li> <li><a href="https://github.com/tobymao/sqlglot/commit/78e6d0de83efbff1d3b61c8550db56c1819f7c22"><code>78e6d0d</code></a> fix(optimizer): qualify_columns optimizations for wide tables (<a href="https://redirect.github.com/tobymao/sqlglot/issues/2955">#2955</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/b7555516c6bf038dc39c4bba2b243839ceb6e3b5"><code>b755551</code></a> feat(clickhouse): add basic support for system statement (<a href="https://redirect.github.com/tobymao/sqlglot/issues/2953">#2953</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/f8d9dbf6744f95bf4b7517e8bcc35dd3a6f70c5d"><code>f8d9dbf</code></a> Feat(sqlite): add support for IIF (<a href="https://redirect.github.com/tobymao/sqlglot/issues/2951">#2951</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/b9d44688c2b785212db635f121b686df02e2dec9"><code>b9d4468</code></a> feat(tableau): identifier and quotes closes <a href="https://redirect.github.com/tobymao/sqlglot/issues/2950">#2950</a></li> <li><a href="https://github.com/tobymao/sqlglot/commit/6a988e0160022d33623cd036bf84bb0b222c9062"><code>6a988e0</code></a> Fix(bigquery): fix annotation of timestamp(x) (<a href="https://redirect.github.com/tobymao/sqlglot/issues/2946">#2946</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/f752c0c8668275c24f47f8a6c8ce4e5a9edbc5c2"><code>f752c0c</code></a> Add a few tests for snowflake SHOW USERS</li> <li><a href="https://github.com/tobymao/sqlglot/commit/e731276dd5490a7d294430e0887eebf19e16d28f"><code>e731276</code></a> Feat(snowflake): add support for SHOW USERS (<a href="https://redirect.github.com/tobymao/sqlglot/issues/2948">#2948</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/ce1073fbae914e07f166a34a9509a56e09fdbc1e"><code>ce1073f</code></a> fix build</li> <li><a href="https://github.com/tobymao/sqlglot/commit/b70a394222bf209298026fd100f6b9498acf9fff"><code>b70a394</code></a> fix: if doesn't support different types</li> <li>Additional commits viewable in <a href="https://github.com/tobymao/sqlglot/compare/v21.0.0...v21.1.0">compare view</a></li> </ul> </details> <br /> [](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> Co-authored-by: vijaypavann-db <[email protected]> Co-authored-by: Vijay Pavan Nissankararao <[email protected]> Co-authored-by: SundarShankar89 <[email protected]>
* Added conversion logic for Try_to_Decimal without format ([databrickslabs#142](databrickslabs#142)). * Identify Root Table for folder containing SQLs ([databrickslabs#124](databrickslabs#124)). * Install Script ([databrickslabs#106](databrickslabs#106)). * Integration Test Suite ([databrickslabs#145](databrickslabs#145)). Dependency updates: * Updated databricks-sdk requirement from <0.20,>=0.18 to >=0.18,<0.21 ([databrickslabs#143](databrickslabs#143)). * Bump sqlglot from 21.0.0 to 21.1.2 ([databrickslabs#137](databrickslabs#137)). * Bump sqlglot from 21.1.2 to 21.2.0 ([databrickslabs#147](databrickslabs#147)). * Bump sqlglot from 21.2.0 to 21.2.1 ([databrickslabs#148](databrickslabs#148)).
Bumps sqlglot from 21.0.0 to 21.1.0.
Changelog
Sourced from sqlglot's changelog.
Commits
c20cc70
Fix(redshift): don't assume Table is an unnested Column if Join has a predica...78e6d0d
fix(optimizer): qualify_columns optimizations for wide tables (#2955)b755551
feat(clickhouse): add basic support for system statement (#2953)f8d9dbf
Feat(sqlite): add support for IIF (#2951)b9d4468
feat(tableau): identifier and quotes closes #29506a988e0
Fix(bigquery): fix annotation of timestamp(x) (#2946)f752c0c
Add a few tests for snowflake SHOW USERSe731276
Feat(snowflake): add support for SHOW USERS (#2948)ce1073f
fix buildb70a394
fix: if doesn't support different typesDependabot 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)