-
Notifications
You must be signed in to change notification settings - Fork 1.9k
chore(deps): update sqlparser requirement from 0.33 to 0.34 #6416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Updates the requirements on [sqlparser](https://github.com/sqlparser-rs/sqlparser-rs) to permit the latest version. - [Changelog](https://github.com/sqlparser-rs/sqlparser-rs/blob/main/CHANGELOG.md) - [Commits](apache/datafusion-sqlparser-rs@v0.33.0...v0.34.0) --- updated-dependencies: - dependency-name: sqlparser dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
| let order_by = match order_by.len() { | ||
| 0 => { | ||
| return Err(DataFusionError::NotImplemented( | ||
| "ARRAY_AGG with empty ORDER BY not supported".to_string(), | ||
| )) | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm isn't ORDER BY an optional clause?
For example, in aggregate_functions.md:
array_agg(expression [ORDER BY expression])
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, nvm, this is the expressions of ORDER BY.
Co-authored-by: Liang-Chi Hsieh <viirya@gmail.com>
| self.update_to_plan(table, assignments, from, selection) | ||
| } | ||
|
|
||
| Statement::Delete { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is due to changes in apache/datafusion-sqlparser-rs#855
Which issue does this PR close?
Closes #6407
Rationale for this change
@dependabot did most of the work but the code changes were non trivial enough I wanted to make a separate PR
What changes are included in this PR?
Update sqlparser-rs dependecy
Update datafusion for changes in API (mostly add error about new syntax not being supported)
Are these changes tested?
Yes
Are there any user-facing changes?