Update Rust crate sqlparser to 0.51.0 #6276
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:
0.45.0
->0.51.0
Release Notes
sqlparser-rs/sqlparser-rs (sqlparser)
v0.51.0
Compare Source
As always, huge props to @iffyio @jmhain and @lovasoa for their help reviewing and merging PRs 🙏.
Without them this project would not be possible.
Reminder: we are in the final phases of moving sqlparser-rs into the Apache
DataFusion project: https://github.com/sqlparser-rs/sqlparser-rs/issues/1294
Fixed
parse_subexpr
(#1410) - Thanks @eejbyfeldtINTERVAL
parsing to support expressions and units via dialect (#1398) - Thanks @samuelcolvin$
should be regarded as a placeholder in SQLite (#1402) - Thanks @git-hulkAdded
DROP|CLEAR|MATERIALIZE PROJECTION
syntax for ClickHouse (#1417) - Thanks @git-hulkTRUNCATE
syntax (#1406) - Thanks @tobyhedeCREATE INDEX
with clause (#1389) - Thanks @lewiszlwCLUSTERED BY
clause for Hive (#1397) - Thanks @git-hulkUSE
statement syntaxes (#1387) - Thanks @kacpermudaADD PROJECTION
syntax for ClickHouse (#1390) - Thanks @git-hulkChanged
DateTimeField::Custom
withEXTRACT
in Postgres (#1394) - Thanks @samuelcolvinv0.50.0
Compare Source
Again, huge props to @iffyio @jmhain and @lovasoa for their help reviewing and merging PRs 🙏.
Without them this project would not be possible.
Reminder: are in the process of moving sqlparser to governed as part of the Apache
DataFusion project: https://github.com/sqlparser-rs/sqlparser-rs/issues/1294
Fixed
Added
STRUCT
and list of structs for DuckDB dialect (#1372) - Thanks @jayzhan211FREEZE|UNFREEZE PARTITION
syntax for ClickHouse (#1380) - Thanks @git-hulkCEIL
andFLOOR
functions (#1377) - Thanks @seve-martinezCREATE TRIGGER
andDROP TRIGGER
statements (#1352) - Thanks @LucaCappelletti94EXTRACT
syntax for snowflake (#1374) - Thanks @seve-martinezATTACH
/DETACH PARTITION
for ClickHouse (#1362) - Thanks @git-hulkSETTINGS
clause for ClickHouse table-valued functions (#1358) - Thanks @Jesse-BakkerOPTIMIZE TABLE
statement for ClickHouse (#1359) - Thanks @git-hulkON CLUSTER
inALTER TABLE
for ClickHouse (#1342) - Thanks @git-hulkGLOBAL
keyword before the join operator (#1353) - Thanks @git-hulkTABLE
keyword inDESC|DESCRIBE|EXPLAIN TABLE
statement (#1351) - Thanks @git-hulkChanged
DESCRIBE TABLE
for Snowflake and ClickHouse dialect (#1386) - Thanks @ alambget_next_precedence_full
toget_next_precedence_default
(#1378) - Thanks @samuelcolvinParser::maybe_parse
pub (#1364) - Thanks @Jesse-Bakkerv0.49.0
Compare Source
As always, huge props to @iffyio @jmhain and @lovasoa for their help reviewing and merging PRs!
We are in the process of moving sqlparser to governed as part of the Apache
DataFusion project: https://github.com/sqlparser-rs/sqlparser-rs/issues/1294
Fixed
AS
query clause should be after the create table options (#1339) - Thanks @git-hulkAdded
MATERIALIZED
/ALIAS
/EPHERMERAL
default column options for ClickHouse (#1348) - Thanks @git-hulk()
as theGROUP BY
nothing (#1347) - Thanks @git-hulkSET
expressions (#1343) - Thanks @iffyioWITH FILL
for ClickHouse (#1330) - Thanks @nickprestaPARTITION BY
for PostgreSQL inCREATE TABLE
statement (#1338) - Thanks @git-hulkWITH ORDINALITY
modifier for Postgres (#1337) - Thanks @git-hulkv0.48.0
Compare Source
Huge shout out to @iffyio @jmhain and @lovasoa for their help reviewing and merging PRs!
Fixed
SELECT * wildcard REPLACE ... RENAME
order (#1321) - Thanks @alexander-beedieAUTO_INCREMENT
andTOP
(#1305) - Thanks @eejbyfeldtAdded
OWNER TO
clause in Postgres (#1314) - Thanks @gainingsFORMAT
clause for ClickHouse (#1335) - Thanks @git-hulkDROP PROCEDURE
statement (#1324) - Thanks @LorrensP-2158466PREWHERE
condition for ClickHouse dialect (#1328) - Thanks @git-hulkSETTINGS
pairs for ClickHouse dialect (#1327) - Thanks @git-hulkGROUP BY WITH MODIFIER
for ClickHouse dialect (#1323) - Thanks @git-hulkFUNCTION
for ClickHouse dialect (#1315) - Thanks @git-hulkTO
inCREATE VIEW
clause for Clickhouse (#1313) - Thanks @Bidaya0UPDATE
statements that contain tuple assignments (#1317) - Thanks @lovasoaCREATE TABLE
options (#1233) - Thanks @balliegojrCREATE TABLE
with primary key and parametrised table engine (#1289) - Thanks @7phsChanged
CreateIndex
(#1307) - Thanks @philipcristianoCreateTable
,CreateIndex
into specific structs (#1291) - Thanks @philipcristianov0.47.0
Compare Source
Fixed
Added
ASOF
joins in Snowflake (#1288) - Thanks @jmhainCREATE VIEW
with fields and data types ClickHouse (#1292) - Thanks @7phsCREATE FUNCTION
for BigQuery, generalize AST (#1253) - Thanks @iffyioAT TIME ZONE
and fix precedence (#1272) - Thanks @jmhainIGNORE/RESPECT NULLS
inside function argument list for Databricks (#1263) - Thanks @jmhainSELECT * EXCEPT
Databricks (#1261) - Thanks @jmhainANY_VALUE
HAVING
clause (#1258) in BigQuery - Thanks @jmhainGROUP_CONCAT()
in MySQL (#1256) - Thanks @jmhainv0.46.0
Compare Source
Changed
AggregateExpressionWithFilter
,ArraySubquery
,ListAgg
andArrayAgg
(#1247) - Thanks jmhainFixed
Added
DECLARE
parsing for mssql (#1235) - Thanks @devanbenz?
-based jsonb operators in Postgres (#1242) - THanks @ReppCodesselect * ilike
for snowflake (#1228) - Thanks @HiranmayaGunduConfiguration
📅 Schedule: Branch creation - "after 8pm,before 6am" in timezone America/Los_Angeles, Automerge - "after 8pm,before 6am" in timezone America/Los_Angeles.
🚦 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 Renovate Bot.