fix(deps): update dependency sqlglot to v21 #8290
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
>=18.12.0,<=20.11
->>=18.12.0,<=21.0.1
Release Notes
tobymao/sqlglot (sqlglot)
v21.0.1
Compare Source
✨ New Features
3a20eac
- clickhouse: add support for JSONExtractString, clean up some helpers (PR #2925 by @georgesittas)v21.0.0
Compare Source
💥 BREAKING CHANGES
due to
b4e8868
- improve transpilation of JSON paths across dialects (PR #2883 by @georgesittas):improve transpilation of JSON paths across dialects (#2883)
due to
aa388ea
- ignore nulls closes #2896 (PR #2898 by @tobymao):ignore nulls closes #2896 (#2898)
due to
617a8c0
- timestamp diff for mysql and databricks (commit by @tobymao):timestamp diff for mysql and databricks
due to
b00b393
- use raise instead of assert for assert_is (commit by @tobymao):use raise instead of assert for assert_is
due to
326aa31
- deprecate case where transforms can be plain strs (PR #2919 by @georgesittas):deprecate case where transforms can be plain strs (#2919)
✨ New Features
fb450f0
- add tsql right left auto casting closes #2899 (commit by @tobymao)617a8c0
- timestamp diff for mysql and databricks (commit by @tobymao)3fa92ca
- redshift: parse GETDATE (PR #2904 by @erickpeirson)d262139
- snowflake: implement parsing logic for SHOW TABLES (PR #2913 by @tekumara)838e780
- improve transpilation of CREATE TABLE LIKE statement (PR #2923 by @georgesittas)cbbad1f
- improve transpilation of JSON path wildcards (PR #2924 by @georgesittas)🐛 Bug Fixes
aa388ea
- ignore nulls closes #2896 (PR #2898 by @tobymao)b00b393
- use raise instead of assert for assert_is (commit by @tobymao)ab97246
- array overlaps closes #2903 (commit by @tobymao)f3bdcb0
- duckdb: fix JSON pointer path parsing, reduce warning noise (PR #2911 by @georgesittas)072264f
- mysql: SHOW SCHEMAS (PR #2916 by @barakalon)15fdff2
- optimizer: don't remove NOT parenthesis (PR #2917 by @barakalon)d20d826
- have table exclude this if schema target (PR #2921 by @eakmanrq)♻️ Refactors
b4e8868
- improve transpilation of JSON paths across dialects (PR #2883 by @georgesittas)9481f94
- several JSON path improvements (PR #2914 by @georgesittas)326aa31
- deprecate case where transforms can be plain strs (PR #2919 by @georgesittas)15582f4
- move JSON path generation logic in Generator (PR #2920 by @georgesittas)🔧 Chores
afb4f9b
- switch to ruff (commit by @tobymao)f9fdf7b
- switch to ruff (PR #2912 by @tobymao)71c33fa
- pandas warning (commit by @tobymao)v20.11.0
Compare Source
💥 BREAKING CHANGES
due to
eb8b40a
- deprecate NULL, TRUE, FALSE constant expressions (PR #2884 by @georgesittas):deprecate NULL, TRUE, FALSE constant expressions (#2884)
✨ New Features
3a8ed85
- add alter table alter comment closes #2889 (commit by @tobymao)🐛 Bug Fixes
dc2d7d7
- tsql: len text transpilation closes #2885 (commit by @tobymao)ad50f47
- type imports (PR #2886 by @tobymao)e4fb7f6
- union should return union (commit by @tobymao)8f795ea
- don't expand star except/replace refs (commit by @tobymao)218121c
- alter table cluster by closes #2887 (commit by @tobymao)5cec283
- bigquery script if statement closes #2888 (commit by @tobymao)5fc7791
- all view column options without types closes #2891 (commit by @tobymao)102304e
- postgres: generate CurrentUser without parentheses closes #2893 (commit by @georgesittas)43902db
- error level ignore comments closes #2895 (commit by @tobymao)🔧 Chores
eb8b40a
- deprecate NULL, TRUE, FALSE constant expressions (PR #2884 by @georgesittas)29cddd5
- change warning message (commit by @tobymao)9eac93e
- upgrade black (commit by @tobymao)4f3fac7
- cleanup command parsing and warnings (commit by @tobymao)v20.10.0
Compare Source
💥 BREAKING CHANGES
due to
1f5fc39
- jsonpath parsing (PR #2867 by @tobymao):jsonpath parsing (#2867)
✨ New Features
89b439e
- postgres: support the INCLUDE clause in INDEX creation (PR #2857 by @georgesittas)90ffff8
- clickhouse: AggregateFunction data type (PR #2832 by @pkit)326d3ae
- improve transpilation of Spark's TO_UTC_TIMESTAMP (PR #2861 by @georgesittas)6d03587
- snowflake: SHOW SCHEMAS/OBJECTS (PR #2845 by @tekumara)d5a08b8
- optimizer: improve struct type annotation support for EQ-delimited kv pairs (PR #2863 by @fool1280)1f5fc39
- jsonpath parsing (PR #2867 by @tobymao)7fd9045
- add support for rename column (PR #2866 by @gableh)89b781b
- postgres: add support for the INHERITS property closes #2871 (commit by @georgesittas)970c202
- postgres: add support for the SET property (PR #2873 by @georgesittas)6845c37
- make the CREATE parser more lenient (PR #2875 by @georgesittas)🐛 Bug Fixes
bf03a45
- snowflake: extend _parse_range to gracefully handle colon operator (PR #2856 by @georgesittas)ad14f4e
- qualify alter table table refs in optimizer qualify (PR #2862 by @z3z1ma)8599903
- optimizer: compute external columns for union sopes correctly (PR #2864 by @georgesittas)3e065f9
- optimizer: don't copy projection in qualify_outputs when attaching alias (PR #2868 by @georgesittas)a642758
- avoid dag cycle with unnesting subqueries closes #2876 (commit by @tobymao)0648453
- set div type on multiplication closes #2878 (commit by @tobymao)b7fb800
- oracle: generate with time zone for timestamptz fixes #2879 (commit by @georgesittas)8770e3b
- optimizer: don't qualify CTEs for DDL/DML statements (PR #2880 by @georgesittas)🔧 Chores
d55cfba
- move postgres tests (commit by @tobymao)0e43c58
- parser: warn when parsing (>1 tokens) SQL into exp.Command (PR #2874 by @georgesittas)v20.9.0
Compare Source
💥 BREAKING CHANGES
due to
1be93e4
- properly support all unix time scales (commit by @tobymao):properly support all unix time scales
✨ New Features
816976f
- extend submodule annotate_types to handle STRUCT (PR #2783 by @fool1280)7bce2f6
- oracle: add support for ORDER SIBLINGS BY clause (PR #2821 by @georgesittas)ce8d254
- snowflake: parse RM/REMOVE as commands (PR #2825 by @georgesittas)1902778
- add support for multi-unit intervals (PR #2822 by @georgesittas)a537898
- add support for DESCRIBE EXTENDED (PR #2828 by @georgesittas)6e50759
- clickhouse: support Date32 type (PR #2830 by @pkit)9560e8f
- add support for Heredocs in Databricks Python UDFs (PR #2801 by @viethungle-vt1401)52ed590
- transpile SELECT .. INTO to dialects that do not support it (PR #2820 by @giorgosnikolaou)ea536c4
- remove target alias in trino merge (PR #2852 by @eakmanrq)🐛 Bug Fixes
6ddbefc
- snowflake: apply range parser after colon, if any (PR #2800 by @georgesittas)0c4f44e
- oracle: regexp_replace replacement is optional closes #2803 (commit by @tobymao)5072d5a
- oracle: improve parsing of JSON_OBJECT[AGG] functions (PR #2807 by @georgesittas)ea39f10
- optimizer: pushdown predicates more conservatively to avoid DAG cycles (PR #2808 by @georgesittas)ea58003
- snowflake: insert overwrite into closes #2815 (commit by @tobymao)d5fa5be
- optimizer: handle table alias columns for (UN)PIVOTs (PR #2816 by @georgesittas)24177f3
- unnest star expansion closes #2811 (PR #2818 by @tobymao)3dba6c1
- add parentheses to no_safe_divide args (PR #2826 by @j1ah0ng)ed68d6b
- clickhouse: add ipv4/6 data type parser (PR #2829 by @pkit)70b280f
- allow insert columns to have spaces (commit by @tobymao)57917b8
- oracle: TO_TIMESTAMP not parsed as StrToTime (PR #2833 by @pkit)9960e11
- optimizer: annotate struct value without alias correctly (PR #2812 by @fool1280)a6d396b
- doris: add transformation of aggregation function and last_day function (PR #2835 by @echo-hhj)8cc252b
- interval without unit alias closes #2838 (commit by @tobymao)607817f
- schema with period name closes #2842 (commit by @tobymao)1be93e4
- properly support all unix time scales (commit by @tobymao)a657fc0
- clickhouse,doris: fix the transformation of ArraySum (PR #2843 by @echo-hhj)c92888c
- parser: fix order of query modifier parsing for nested subqueries (PR #2851 by @georgesittas)7949a4f
- clickhouse: ensure arraySum generation is preserved, add tests (commit by @georgesittas)17a6ac6
- move comment in expr as alias next to the alias (PR #2853 by @georgesittas)♻️ Refactors
9e5ae50
- use flag instead of regex (commit by @tobymao)5c13a1e
- simplify merge without target transformation (PR #2854 by @georgesittas)🔧 Chores
5996a69
- presto: get rid of assert in ELEMENT_AT parser (commit by @georgesittas)f9a02ec
- fix table, column instantiation in schema normalization tests (PR #2817 by @georgesittas)Configuration
📅 Schedule: Branch creation - "after 10pm every weekday,every weekend,before 5am every weekday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.