chore(deps): update dependency sqlglot to v28 #551
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:
>=24.0.0,<27.30->>=24.0.0,<28.1Release Notes
tobymao/sqlglot (sqlglot)
v28.0.0Compare Source
💥 BREAKING CHANGES
due to
39d8e19- include VARIABLE kind in SET transpilation to DuckDB (PR #6201 by @toriwei):include VARIABLE kind in SET transpilation to DuckDB (#6201)
due to
e7ddad1- ensureNULLcoerces into any type (PR #6211 by @fivetran-ashashankar):ensure
NULLcoerces into any type (#6211)due to
0037266- annotate types for GETBIT (PR #6219 by @fivetran-felixhuang):annotate types for GETBIT (#6219)
due to
a5458ce- add type annotation for DECODE function support (PR #6199 by @fivetran-ashashankar):add type annotation for DECODE function support (#6199)
due to
417f1e8- annotate types for BITNOT (PR #6234 by @fivetran-felixhuang):annotate types for BITNOT (#6234)
due to
fe8ab40- 1st-class parsing support for BITAND, BIT_AND, BIT_NOT (PR #6243 by @fivetran-felixhuang):1st-class parsing support for BITAND, BIT_AND, BIT_NOT (#6243)
due to
5ae3c47- add type annotation for GROUPING() function (PR #6244 by @fivetran-ashashankar):add type annotation for GROUPING() function (#6244)
due to
4133265- parsehasfunction into anArrayContainsexpression (PR #6245 by @joeyutong):parse
hasfunction into anArrayContainsexpression (#6245)due to
cdd45b9- annotate types for GROUPING_ID function. (PR #6249 by @fivetran-ashashankar):annotate types for GROUPING_ID function. (#6249)
due to
080ff3b- annotate types for BITAND_AGG (PR #6248 by @fivetran-felixhuang):annotate types for BITAND_AGG (#6248)
due to
87a818a- annotate types for BITOR_AGG (PR #6251 by @fivetran-felixhuang):annotate types for BITOR_AGG (#6251)
due to
4c4189b- Transpile CONCAT function to double pipe operators when source … (PR #6241 by @vchan):Transpile CONCAT function to double pipe operators when source … (#6241)
due to
a1b884d- annotate types for BITXOR_AGG (PR #6253 by @fivetran-felixhuang):annotate types for BITXOR_AGG (#6253)
due to
fc78d20- Unwrap subqueries without modifiers (PR #6247 by @VaggelisD):Unwrap subqueries without modifiers (#6247)
due to
ad2ad23- add missing return type mapping for MAX_BY and MAX_BY function (PR #6250 by @fivetran-ashashankar):add missing return type mapping for MAX_BY and MAX_BY function (#6250)
due to
39c1d81- annotate types for BOOLXOR_AGG (PR #6261 by @fivetran-felixhuang):annotate types for BOOLXOR_AGG (#6261)
due to
71590d2- add type annotation for SKEW function. (PR #6262 by @fivetran-ashashankar):add type annotation for SKEW function. (#6262)
due to
5fd366d- annotate types for OBJECT_AGG (PR #6265 by @fivetran-felixhuang):annotate types for OBJECT_AGG (#6265)
due to
00abc39- handle casting for bytestrings (PR #6252 by @toriwei):handle casting for bytestrings (#6252)
due to
3dae0fb- Support position and occurrence args for REGEXP_EXTRACT (PR #6266 by @vchan):Support position and occurrence args for REGEXP_EXTRACT (#6266)
due to
ddea61d- simplify connector complements only for non-null operands (PR #6214 by @geooo109):simplify connector complements only for non-null operands (#6214)
due to
771732d- annotate types for REGR_AVGY (PR #6271 by @fivetran-felixhuang):annotate types for REGR_AVGY (#6271)
due to
8470be0- add type annotation for BITMAP_COUNT function. (PR #6274 by @fivetran-ashashankar):add type annotation for BITMAP_COUNT function. (#6274)
due to
98f25f9- support splitBy function (PR #6278 by @joeyutong):support splitBy function (#6278)
due to
fabbf05- Add support for shorthand struct array literals in duckDB. (PR #6233 by @fivetran-amrutabhimsenayachit):Add support for shorthand struct array literals in duckDB. (#6233)
due to
c02b64c- Handle pseudocolumns differently than columns (PR #6273 by @VaggelisD):Handle pseudocolumns differently than columns (#6273)
due to
05c5181- refactorConnectorsimplification to factor in types (PR #6152 by @geooo109):refactor
Connectorsimplification to factor in types (#6152)due to
9c1a222- add type annotation for BITMAP_CONSTRUCT_AGG function. (PR #6285 by @fivetran-ashashankar):add type annotation for BITMAP_CONSTRUCT_AGG function. (#6285)
due to
cb0bcff- cast UUID() output to varchar when source dialect UUID() returns string (PR #6284 by @toriwei):cast UUID() output to varchar when source dialect UUID() returns string (#6284)
due to
358105d- type annotation for BITMAP_BIT_POSITION function (PR #6301 by @fivetran-ashashankar):type annotation for BITMAP_BIT_POSITION function (#6301)
due to
4ee7a50- type inference for BITMAP_OR_AGG (PR #6297 by @fivetran-ashashankar):type inference for BITMAP_OR_AGG (#6297)
due to
fcd537d- conflict resolution. type annotation for BITMAP_BUCKET_NUMBER function. Tests added all dialects that support BITMAP_BUCKET_NUMBER (PR #6299 by @fivetran-ashashankar):conflict resolution. type annotation for BITMAP_BUCKET_NUMBER function. Tests added all dialects that support BITMAP_BUCKET_NUMBER (#6299)
due to
3dffd59- annotate types for PERCENTILE_DISC and WithinGroup (PR #6300 by @fivetran-felixhuang):annotate types for PERCENTILE_DISC and WithinGroup (#6300)
due to
f9287f7- robust deduplication of connectors (PR #6296 by @geooo109):robust deduplication of connectors (#6296)
due to
ea0ea79- ParseLIKEfunctions (PR #6314 by @VaggelisD):Parse
LIKEfunctions (#6314)due to
e903883- type annotation for APPROX_TOP_K_ACCUMULATE functio… (PR #6309 by @fivetran-ashashankar):type annotation for APPROX_TOP_K_ACCUMULATE functio… (#6309)
due to
d3fefad- supportDATEDIFF_BIG(PR #6323 by @lBilali):support
DATEDIFF_BIG(#6323)due to
21d1468- annotate type for APPROX_TOP_K (PR #6286 by @fivetran-MichaelLee):annotate type for APPROX_TOP_K (#6286)
due to
85ddcc5- Do not normalize JSON fields in dot notation (PR #6320 by @VaggelisD):Do not normalize JSON fields in dot notation (#6320)
due to
933e981- more robust NULL reduction (PR #6327 by @geooo109):more robust NULL reduction (#6327)
✨ New Features
39d8e19- snowflake: include VARIABLE kind in SET transpilation to DuckDB (PR #6201 by @toriwei)0037266- snowflake: annotate types for GETBIT (PR #6219 by @fivetran-felixhuang)a5458ce- snowflake: add type annotation for DECODE function support (PR #6199 by @fivetran-ashashankar)a9d0f63- DuckDB: Transpile unix_millis to epoch_ms (PR #6224 by @vchan)238f705- DuckDB: Transpile unix_seconds to epoch (PR #6225 by @vchan)c8b0129- exasol: support bracket-delimited identifiers (PR #6231 by @JoepvandenHoven-Bluemine)417f1e8- snowflake: annotate types for BITNOT (PR #6234 by @fivetran-felixhuang)fe8ab40- snowflake: 1st-class parsing support for BITAND, BIT_AND, BIT_NOT (PR #6243 by @fivetran-felixhuang)5ae3c47- snowflake: add type annotation for GROUPING() function (PR #6244 by @fivetran-ashashankar)4133265- clickhouse: parsehasfunction into anArrayContainsexpression (PR #6245 by @joeyutong)b722aa2- duckdb: cast LOWER() result to BLOB if input is bytes (PR #6218 by @toriwei)cdd45b9- optimizer: annotate types for GROUPING_ID function. (PR #6249 by @fivetran-ashashankar)080ff3b- snowflake: annotate types for BITAND_AGG (PR #6248 by @fivetran-felixhuang)87a818a- snowflake: annotate types for BITOR_AGG (PR #6251 by @fivetran-felixhuang)a1b884d- snowflake: annotate types for BITXOR_AGG (PR #6253 by @fivetran-felixhuang)71d93b1- duckdb: implement casting to blob for UPPER() and move to helper method (PR #6254 by @toriwei)ad2ad23- snowflake: add missing return type mapping for MAX_BY and MAX_BY function (PR #6250 by @fivetran-ashashankar)39c1d81- snowflake: annotate types for BOOLXOR_AGG (PR #6261 by @fivetran-felixhuang)71590d2- snowflake: add type annotation for SKEW function. (PR #6262 by @fivetran-ashashankar)5fd366d- snowflake: annotate types for OBJECT_AGG (PR #6265 by @fivetran-felixhuang)3dae0fb- duckdb: Support position and occurrence args for REGEXP_EXTRACT (PR #6266 by @vchan)dba0414- clickhouse: Parse toStartOfxxx into exp.TimestampTrunc (PR #6268 by @joeyutong)d959ad0- transpile DuckDB exclusive end RANGE to SEQUENCE (PR #6270 by @georgesittas)771732d- snowflake: annotate types for REGR_AVGY (PR #6271 by @fivetran-felixhuang)8470be0- snowflake: add type annotation for BITMAP_COUNT function. (PR #6274 by @fivetran-ashashankar)98f25f9- clickhouse: support splitBy function (PR #6278 by @joeyutong)fabbf05- duckDB: Add support for shorthand struct array literals in duckDB. (PR #6233 by @fivetran-amrutabhimsenayachit)a909fde- duckdb: Add support for CREATE MACRO (PR #6292 by @VaggelisD)11989be- add more expressions with positional meta (PR #6289 by @tobymao)87651a6- semantic facts closes #6287 (PR #6288 by @tobymao)9c1a222- snowflake: add type annotation for BITMAP_CONSTRUCT_AGG function. (PR #6285 by @fivetran-ashashankar)358105d- snowflake: type annotation for BITMAP_BIT_POSITION function (PR #6301 by @fivetran-ashashankar)4ee7a50- snowflake: type inference for BITMAP_OR_AGG (PR #6297 by @fivetran-ashashankar)fcd537d- snowflake: conflict resolution. type annotation for BITMAP_BUCKET_NUMBER function. Tests added all dialects that support BITMAP_BUCKET_NUMBER (PR #6299 by @fivetran-ashashankar)3dffd59- snowflake: annotate types for PERCENTILE_DISC and WithinGroup (PR #6300 by @fivetran-felixhuang)6ce3cd7- sqlite: support binaryMATCHoperator closes #6305 (PR #6306 by @georgesittas)e903883- snowflake: type annotation for APPROX_TOP_K_ACCUMULATE functio… (PR #6309 by @fivetran-ashashankar)afc0242- duckDB: Cast inputs (BLOB → VARCHAR) for duckDB STARTS_WITH (PR #6240 by @fivetran-amrutabhimsenayachit)d170bbd- duckdb: transpile bigquery'sBYTESvariant ofREPLACE(PR #6312 by @toriwei)d3fefad- tsql: supportDATEDIFF_BIG(PR #6323 by @lBilali)21d1468- optimizer: annotate type for APPROX_TOP_K (PR #6286 by @fivetran-MichaelLee)93b4039- duckdb: preserve time zone and timestamp in DATE_TRUNC() (PR #6318 by @toriwei)b71990f- duckdb: Add transpilation support for ANY_VALUE function with HAVING MAX and MIN clauses (PR #6325 by @fivetran-amrutabhimsenayachit)64c0d55- sqlite: support indexed table clause closes #6331 (commit by @georgesittas)6725217- sqlite: supportNOT NULLoperator closes #6334 closes #6335 (commit by @georgesittas)🐛 Bug Fixes
e7ddad1- optimizer: ensureNULLcoerces into any type (PR #6211 by @fivetran-ashashankar)4c4189b- Transpile CONCAT function to double pipe operators when source … (PR #6241 by @vchan)fc78d20- parser: Unwrap subqueries without modifiers (PR #6247 by @VaggelisD)7ad4c17- databricks: Support table names in FROM STREAM (PR #6259 by @roveo)00abc39- generator: handle casting for bytestrings (PR #6252 by @toriwei)bcf2eac- duckdb: map int8 to bigint instead of tinyint fixes #6269 (commit by @georgesittas)ddea61d- optimizer: simplify connector complements only for non-null operands (PR #6214 by @geooo109)e17320e- Handle edge cases in for DuckDB RANGE to Spark SEQUENCE transpilation (PR #6276 by @joeyutong)33b6218- sqlsecurityproperty parseerror (PR #6280 by @ds-cbo)c02b64c- optimizer: Handle pseudocolumns differently than columns (PR #6273 by @VaggelisD)05c5181- optimizer: refactorConnectorsimplification to factor in types (PR #6152 by @geooo109)cb0bcff- duckdb: cast UUID() output to varchar when source dialect UUID() returns string (PR #6284 by @toriwei)f9287f7- optimizer: robust deduplication of connectors (PR #6296 by @geooo109)ea0ea79- clickhouse: ParseLIKEfunctions (PR #6314 by @VaggelisD)bbd4c90- sqlite: support IS with identifier as RHS (PR #6316 by @geooo109)65d213a- dialect: fix typo from millenium to millennium #6321 (commit by @lBilali)c9d1615- tsql: map iso_week with the correct python directive from strftime (PR #6322 by @lBilali)85ddcc5- bigquery: Do not normalize JSON fields in dot notation (PR #6320 by @VaggelisD)933e981- optimizer: more robust NULL reduction (PR #6327 by @geooo109)e1c6d57- parser: improve between .. preceding .. following parser fixes #6332 (commit by @georgesittas)65706e8- avoid full traversal for pushdown_cte_alias_columns (commit by @tobymao)c81258e- parser: allow using OVER token as unquoted identifier (PR #6338 by @georgesittas)73abfac- redshift: do not inherit postgresROUNDgenerator closes #6340 (commit by @georgesittas)♻️ Refactors
9c98fc2- optimizer: avoid extra copy in simplify (commit by @geooo109)43985fb- snowflake: remove redundant tests for ANY_VALUE (commit by @geooo109)bf7b032- clean up struct name inheritance (PR #6295 by @georgesittas)49e0f43- extra test for spark approx_top_k_accumulate (commit by @geooo109)🔧 Chores
d7be4a5- optimizer: add annotation test for COALESCE (PR #6210 by @fivetran-felixhuang)8aa7356- optimizer: add annotation tests for IFF (PR #6215 by @fivetran-felixhuang)160a1b9- optimizer: mixed type annotation test for sf IFNULL (commit by @geooo109)893ad2a- optimizer: add annotation tests for NULLIF (PR #6221 by @fivetran-MichaelLee)78d7733- remove redundant or term for unknown in annotate_types (commit by @georgesittas)b202f3a- optimizer: add test for BITXOR (PR #6223 by @fivetran-felixhuang)b20f2e8- optimizer: add test for BITSHIFTLEFT (PR #6227 by @fivetran-felixhuang)7f93e85- optimizer: add annotation tests for BITSHIFTRIGHT (PR #6228 by @fivetran-felixhuang)fcf017c- renameEXPRESSION_SPECtoEXPRESSION_METADATA(commit by @georgesittas)55bc9e4- remove predicate/connector/not from typing metadata (commit by @georgesittas)349ab29- optimizer: add annotation test for BOOLAND_OR (PR #6260 by @fivetran-MichaelLee)75ec424- optimizer: add annotation test for BOOLAND_AGG (PR #6257 by @fivetran-MichaelLee)bb574aa- optimizer: add annotation test for ARRAY_AGG (PR #6264 by @fivetran-MichaelLee)a95c5cc- optimizer: add nonnull clickhouse column test case (commit by @georgesittas)6d6c689- optimizer: add annotation tests for ANY_VALUE (PR #6275 by @fivetran-MichaelLee)2459f88- Follow up of 6280 (PR #6281 by @VaggelisD)a7d33d0- optimizer: add annotation tests for APPROX_PERCENTILE (PR #6283 by @fivetran-MichaelLee)1b2d139- optimizer: add type annotation tests with window for sf APPROX_PERCENTILE (commit by @geooo109)d059648- optimizer: add annotation tests for APPROX_COUNT_DISTINCT (PR #6282 by @fivetran-MichaelLee)6bd59ac- Follow up of PR 6288 (PR #6293 by @VaggelisD)546fd2a- Remove dead line in qualify_columns (PR #6304 by @VaggelisD)ac7ac19- exasol: Implement ODBC date time literals in Exasol Sqlglot (PR #6311 by @nnamdi16)8d1d25c- exasol: Implement local qualifier for-aliases, in GROUP BY, WHERE AND HAVING clause in exasol dialect (PR #6277 by @nnamdi16)509b0aa- exasol: Implement day_of_week function (PR #6319 by @nnamdi16)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 was generated by Mend Renovate. View the repository job log.