Update dependency sqlglot to <=30.8.0#402
Merged
Merged
Conversation
alarthast
approved these changes
May 27, 2026
c981834 to
ece7686
Compare
2bd4bf1 to
2718b40
Compare
alarthast
approved these changes
May 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
<=30.6.0→<=30.8.0Release Notes
tobymao/sqlglot (sqlglot)
v30.8.0Compare Source
💥 BREAKING CHANGES
due to
6944a6c- Improve typing annotations for planner, schema, serde, and transforms modules (PR #7579 by @OutSquareCapital):Improve typing annotations for planner, schema, serde, and transforms modules (#7579)
due to
9d84348- annotate MD5 for clickhouse (PR #7602 by @AbhishekASLK):annotate MD5 for clickhouse (#7602)
due to
d1147b6- roundtrip for ST_MAKEPOINT / 4 parameters (PR #7605 by @fivetran-kwoodbeck):roundtrip for ST_MAKEPOINT / 4 parameters (#7605)
due to
4bd7d1d- preserve NOT LIKE quantifiers during generation (PR #7611 by @bialkou):preserve NOT LIKE quantifiers during generation (#7611)
due to
fc6b87a- parseCONVERTintoCastinstead ofTryCast(PR #7609 by @fivetran-kwoodbeck):parse
CONVERTintoCastinstead ofTryCast(#7609)due to
b6d2c76- avoid pushdown projections for column dependent funcs (PR #7614 by @geooo109):avoid pushdown projections for column dependent funcs (#7614)
due to
a16f7d0- disambiguate 2-arg date_add from 3-arg dateadd [CLAUDE] (PR #7588 by @RichardHughes-amp):disambiguate 2-arg date_add from 3-arg dateadd [CLAUDE] (#7588)
due to
ae58fd1- parse CREATE TYPE statements (PR #7616 by @devfros):parse CREATE TYPE statements (#7616)
due to
8dcb2d3- register First and Last in Hive typing (PR #7623 by @RichardHughes-amp):register First and Last in Hive typing (#7623)
due to
8ce7d78- PIVOT qualify with alias + type annotation (PR #7586 by @geooo109):PIVOT qualify with alias + type annotation (#7586)
due to
c876570- roundtrip for HH12 time mapping (PR #7626 by @fivetran-kwoodbeck):roundtrip for HH12 time mapping (#7626)
due to
87cc106- roundtrip support for CURRENT_USER_ID and USER (PR #7633 by @fivetran-kwoodbeck):roundtrip support for CURRENT_USER_ID and USER (#7633)
due to
c6615a9- propagate type through IgnoreNulls/RespectNulls wrappers [CLAUDE] (PR #7636 by @RichardHughes-amp):propagate type through IgnoreNulls/RespectNulls wrappers [CLAUDE] (#7636)
due to
9e37283- case-insensitive alias matching for LOCAL. prefix (PR #7631 by @antonireus):case-insensitive alias matching for LOCAL. prefix (#7631)
✨ New Features
af5dc38- duckdb: Add transpilation support for HEX_DECODE_STRING (PR #7590 by @fivetran-amrutabhimsenayachit)9507aad- duckdb: Consolidate HEX_ENCODE_ into HEX function (PR #7603 by @fivetran-amrutabhimsenayachit)9d84348- optimizer: annotate MD5 for clickhouse (PR #7602 by @AbhishekASLK)ae58fd1- postgres: parse CREATE TYPE statements (PR #7616 by @devfros)80e0929- parser: handleCOLLATEin nested types andCASTcloses #7624 (PR #7630 by @georgesittas)8ce7d78- optimizer: PIVOT qualify with alias + type annotation (PR #7586 by @geooo109)cbd3576- mysql: SupportCHANGE COLUMN. (PR #7638 by @burnison)🐛 Bug Fixes
593d5a3- redshift: support ALL in aggregate funcs (PR #7592 by @fivetran-kwoodbeck)b8bf13e- redshift: support OBJECT_TRANSFORM function (PR #7601 by @fivetran-kwoodbeck)1206bea- redshift: parser issue for TOP N DISTINCT (PR #7594 by @fivetran-kwoodbeck)d1147b6- redshift: roundtrip for ST_MAKEPOINT / 4 parameters (PR #7605 by @fivetran-kwoodbeck)b9f18ee- sqlite: support named CTE columns closes #7617 (commit by @georgesittas)c8b19aa- Parametrized bigdecimal mapping was being concatenated with params (PR #7584 by @themisvaltinos)4bd7d1d- postgres: preserve NOT LIKE quantifiers during generation (PR #7611 by @bialkou)fc6b87a- redshift: parseCONVERTintoCastinstead ofTryCast(PR #7609 by @fivetran-kwoodbeck)b6d2c76- optimizer: avoid pushdown projections for column dependent funcs (PR #7614 by @geooo109)a16f7d0- databricks: disambiguate 2-arg date_add from 3-arg dateadd [CLAUDE] (PR #7588 by @RichardHughes-amp)6931eec- redshift: roundtrip fix ARRAY_CONTAINS (PR #7606 by @fivetran-kwoodbeck)8dcb2d3- annotate: register First and Last in Hive typing (PR #7623 by @RichardHughes-amp)a1fa154- parser: from-first duckdb syntax improvement for pivot fixes #7628 (commit by @georgesittas)e7e1fb0- parser: issue with no parenthesis functions (PR #7621 by @fivetran-kwoodbeck)b1aa0c5- redshift: try_cast roundtrip (PR #7622 by @fivetran-kwoodbeck)5525f3f- sqlite: prevent ALTER TABLE RENAME TO from falling back to Command (PR #7629 by @dedyoc)c876570- redshift: roundtrip for HH12 time mapping (PR #7626 by @fivetran-kwoodbeck)87cc106- redshift: roundtrip support for CURRENT_USER_ID and USER (PR #7633 by @fivetran-kwoodbeck)6329684- parser: allow WINDOW clause without FROM (PR #7640 by @1fanwang)c6615a9- annotate_types: propagate type through IgnoreNulls/RespectNulls wrappers [CLAUDE] (PR #7636 by @RichardHughes-amp)9e37283- exasol: case-insensitive alias matching for LOCAL. prefix (PR #7631 by @antonireus)♻️ Refactors
6944a6c- Improve typing annotations for planner, schema, serde, and transforms modules (PR #7579 by @OutSquareCapital)a2a9ba5- schema: cachefindlookups in schema (PR #7615 by @georgesittas)958b27d- improveoptimizer::pushdown_predicatestyping (PR #7613 by @OutSquareCapital)96716a6- improveoptimizer::{eliminate_joins, eliminate_subqueries}typing (PR #7618 by @OutSquareCapital)7e7cf8b- make dialect in build_formatted_time optional, fetch it from parser (PR #7639 by @georgesittas)v30.7.0Compare Source
💥 BREAKING CHANGES
due to
68861d9- supportDROP PRIMARY KEY. (PR #7530 by @burnison):support
DROP PRIMARY KEY. (#7530)due to
8669e55- mark DECOMPRESS_STRING as unsupported [CLAUDE] (PR #7545 by @fivetran-ashashankar):mark DECOMPRESS_STRING as unsupported [CLAUDE] (#7545)
due to
b334dcc- mark DECOMPRESS_BINARY as unsupported (PR #7546 by @fivetran-ashashankar):mark DECOMPRESS_BINARY as unsupported (#7546)
due to
8f572f8- qualify UNPIVOT on CTE sources (PR #7550 by @georgesittas):qualify UNPIVOT on CTE sources (#7550)
due to
b4dea8c- Transpilation support for UUID_STRING (commit by @fivetran-ashashankar):Transpilation support for UUID_STRING
due to
e883b0b- map duckdbLISTtoArrayAgg(PR #7552 by @georgesittas):map duckdb
LISTtoArrayAgg(#7552)due to
ded89c2- Add transpilation support for STRTOK_TO_ARRAY function (PR #7536 by @fivetran-amrutabhimsenayachit):Add transpilation support for STRTOK_TO_ARRAY function (#7536)
due to
f743755- register NAMED_STRUCT in parser so struct fields annotate CLAUDE (PR #7561 by @RichardHughes-amp):register NAMED_STRUCT in parser so struct fields annotate CLAUDE (#7561)
due to
4cca3a0- support arbitrarily many args in JSONArray [CLAUDE] (PR #7559 by @maxa-jonathan-hallee):support arbitrarily many args in JSONArray [CLAUDE] (#7559)
due to
206e2f8- fullMODIFY COLUMNsupport. (PR #7562 by @burnison):full
MODIFY COLUMNsupport. (#7562)due to
fd48100- generate "SUBSTR" instead of "SUBSTRING" for Substr expr (PR #7583 by @georgesittas):generate "SUBSTR" instead of "SUBSTRING" for Substr expr (#7583)
due to
17432c6- do not indent newlines within identifiers in pretty mode fixes #7953 (commit by @georgesittas):do not indent newlines within identifiers in pretty mode fixes #7953
✨ New Features
cf1c9b7- tests: add leakcheck harness for sqlglot[c] (PR #7533 by @VaggelisD)68861d9- mysql: supportDROP PRIMARY KEY. (PR #7530 by @burnison)8669e55- duckdb: mark DECOMPRESS_STRING as unsupported [CLAUDE] (PR #7545 by @fivetran-ashashankar)b334dcc- duckdb: mark DECOMPRESS_BINARY as unsupported (PR #7546 by @fivetran-ashashankar)234198a- exasol: transpile USE/OPEN SCHEMA and SHOW TABLES to system-table query (PR #7538 by @mkcorneli)e3fee4d- snowflake: transpile DuckDB list() and list_distinct() [CLAUDE] (PR #7551 by @maxa-jonathan-hallee)92aea6b- duckdb: Add UUID v5 unsupported error for Snowflake UUID_STRING transpilation (commit by @fivetran-ashashankar)b4dea8c- snowflake: Transpilation support for UUID_STRING (commit by @fivetran-ashashankar)b828e30- snowflake: add UUID_IS_STRING_TYPE flag and UUID_STRING parser (commit by @fivetran-ashashankar)ded89c2- duckdb: Add transpilation support for STRTOK_TO_ARRAY function (PR #7536 by @fivetran-amrutabhimsenayachit)f743755- hive: register NAMED_STRUCT in parser so struct fields annotate CLAUDE (PR #7561 by @RichardHughes-amp)4cca3a0- duckdb: support arbitrarily many args in JSONArray [CLAUDE] (PR #7559 by @maxa-jonathan-hallee)3bc8f38- oracle: supportLISTAGG(... ON OVERFLOW ...)(PR #7565 by @galunto)1a10806- mypyc: Enable incremental compilation, deprecate Python 3.9 (PR #7574 by @VaggelisD)d146dcd- lineage: support all-columns mode and on_node callback (PR #7575 by @georgesittas)25552ee- optimizer: canonicalize internal query names (PR #7580 by @georgesittas)fab6ccf- duckdb: Add transpilation support for HEX_ENCODE function (PR #7591 by @fivetran-amrutabhimsenayachit)🐛 Bug Fixes
8583c2d- correctly handle follow-tokens for unit-less intervals (PR #7529 by @jvstein)daca12a- mysql: accept quoted charset inUSING. (PR #7522 by @burnison)6053db6- optimizer: robust scope for UDTF (PR #7535 by @geooo109)a88dfce- mysql: support SHOW TABLES IN parsing (PR #7537 by @mkcorneli)0bd0c46- optimizer: handle ColumnDef in typed table alias columns (PR #7542 by @tobymao)f387112- parser: robust CONCAT_WS (PR #7544 by @geooo109)5351ca1- optimizer: EXPLODE qualify and annotate (PR #7549 by @geooo109)8f572f8- optimizer: qualify UNPIVOT on CTE sources (PR #7550 by @georgesittas)cf0ffd9- optimizer: qualify (UN)PIVOT on CTE sources (PR #7560 by @georgesittas)2c1a90c- clickhouse: apply version-aware unit lowercase to DateTrunc [CLAUDE] (PR #7564 by @markcheney1)206e2f8- mysql: fullMODIFY COLUMNsupport. (PR #7562 by @burnison)6110de6- lineage: avoid self-loops from cached non-owned upstream nodes (commit by @georgesittas)e078e5d- postgres: TRIM with UNNEST and ORDINALITY (PR #7573 by @geooo109)a20ec0e- optimizer: unpivot annotate types (PR #7543 by @geooo109)fd48100- presto: generate "SUBSTR" instead of "SUBSTRING" for Substr expr (PR #7583 by @georgesittas)1cf31d6- annotate: register typing for FirstValue and RegexpExtract (commit by @RichardHughes-amp)9f169ab- redshift: supportAPPROXIMATE PERCENTILE_DISCround-trip (PR #7585 by @fivetran-kwoodbeck)17432c6- generator: do not indent newlines within identifiers in pretty mode fixes #7953 (commit by @georgesittas)e550d00- parser: FROM with JOIN subqueries (PR #7597 by @geooo109)⚡ Performance Improvements
63f8dc6- tokens: cache TokenizerCore per thread (PR #7547 by @tobymao)9b65c91- build: parallelize mypyc compile with -j $(NPROC) (PR #7554 by @tobymao)fc6e7cb- parser: short-circuit _parse_pivots when next token isn't PIVOT/UNPIVOT (PR #7557 by @tobymao)♻️ Refactors
38b8986- simplify uuid_sql using @unsupported_args decorator (commit by @fivetran-ashashankar)49787a5- remove redundant CAST from UUID_V5_TEMPLATE (commit by @fivetran-ashashankar)e883b0b- map duckdbLISTtoArrayAgg(PR #7552 by @georgesittas)1d976e6- raise if a projection is unnamed in lineage (commit by @georgesittas)b3fa159- optimizer: continuation on typing coverage improvements (PR #7572 by @OutSquareCapital)✅ Tests
9bc9ef2- update UUID_STRING test for removed CAST (commit by @fivetran-ashashankar)🔧 Chores
fc99ddc- update integration tests submodule (commit by @fivetran-ashashankar)e4a2fdc- exasol: test GROUP BY alias rewrite via _add_local_prefix_for_aliases (PR #7569 by @mkcorneli)43be379- bump sqlglot-mypy to 1.20.0.post6 (PR #7598 by @VaggelisD)9bd7e7c- publish: Do not build sqlglotc wheels for 3.9 (PR #7600 by @VaggelisD)Configuration
📅 Schedule: (UTC)
* 0-3 * * WED)🚦 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 was generated by Mend Renovate. View the repository job log.