connector-x
connector-x copied to clipboard
build(rust): bump sqlparser from 0.37.0 to 0.51.0
Bumps sqlparser from 0.37.0 to 0.51.0.
Changelog
Sourced from sqlparser's changelog.
[0.51.0] 2024-09-11
As always, huge props to
@iffyio@jmhainand@lovasoafor 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: sqlparser-rs/sqlparser-rs#1294
Fixed
- Fix Hive table comment should be after table column definitions (#1413) - Thanks
@git-hulk- Fix stack overflow in
parse_subexpr(#1410) - Thanks@eejbyfeldt- Fix
INTERVALparsing to support expressions and units via dialect (#1398) - Thanks@samuelcolvin- Fix identifiers starting with
$should be regarded as a placeholder in SQLite (#1402) - Thanks@git-hulkAdded
- Support for MSSQL table options (#1414) - Thanks
@bombsimon- Test showing how negative constants are parsed (#1421) - Thanks
@alamb- Support databricks dialect to dialect_from_str (#1416) - Thanks
@milenkovicmalamb- Support
DROP|CLEAR|MATERIALIZE PROJECTIONsyntax for ClickHouse (#1417) - Thanks@git-hulk- Support postgres
TRUNCATEsyntax (#1406) - Thanks@tobyhede- Support
CREATE INDEXwith clause (#1389) - Thanks@lewiszlw- Support parsing
CLUSTERED BYclause for Hive (#1397) - Thanks@git-hulk- Support different
USEstatement syntaxes (#1387) - Thanks@kacpermuda- Support
ADD PROJECTIONsyntax for ClickHouse (#1390) - Thanks@git-hulkChanged
- Implement common traits for OneOrManyWithParens (#1368) - Thanks
@gstvg- Cleanup parse_statement (#1407) - Thanks
@samuelcolvin- Allow
DateTimeField::CustomwithEXTRACTin Postgres (#1394) - Thanks@samuelcolvin[0.50.0] 2024-08-15
Again, huge props to
@iffyio@jmhainand@lovasoafor 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: sqlparser-rs/sqlparser-rs#1294
Fixed
Added
- Support
STRUCTand list of structs for DuckDB dialect (#1372) - Thanks@jayzhan211- Support custom lexical precedence in PostgreSQL dialect (#1379) - Thanks
@samuelcolvin- Support
FREEZE|UNFREEZE PARTITIONsyntax for ClickHouse (#1380) - Thanks@git-hulk- Support scale in
CEILandFLOORfunctions (#1377) - Thanks@seve-martinez- Support
CREATE TRIGGERandDROP TRIGGERstatements (#1352) - Thanks@LucaCappelletti94- Support
EXTRACTsyntax for snowflake (#1374) - Thanks@seve-martinez- Support
ATTACH/DETACH PARTITIONfor ClickHouse (#1362) - Thanks@git-hulk- Support Dialect level precedence, update Postgres Dialect to match Postgres (#1360) - Thanks
@samuelcolvin- Support parsing empty map literal syntax for DuckDB and Generic dialects (#1361) - Thanks
@goldmedal
... (truncated)
Commits
b9f6784chore: Release sqlparser version 0.51.070dbb11CHANGELOG for 0.51.0 (#1422)b9e7754feat: Add support for MSSQL table options (#1414)cb0c511Add a test showing how negative constants are parsed (#1421)8dbcbb3minor: Adddatabricksdialect todialect_from_str(#1416)8305c5dminor: Implement common traits for OneOrManyWithParens (#1368)6ba6068Fix Hive table comment should be after table column definitions (#1413)a7b49b5Add support ofDROP|CLEAR|MATERIALIZE PROJECTIONsyntax for ClickHouse (#1417)4875dadfix: Fix stack overflow in parse_subexpr (#1410)aa714e3FixINTERVALparsing to support expressions and units via dialect (#1398)- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.