-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
build(deps): upgrade sqlparser to 0.47.0 #10392
Merged
Merged
Changes from 32 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
7393c64
build(deps): upgrade sqlparser to 0.46.0
tisonkun d64ac06
function and cast fixups
jmhain c112222
catchup refactors
tisonkun f29af9d
try migrate json expr
tisonkun 1ac63fa
Update for changes in sqlparser
alamb f973c0d
Merge remote-tracking branch 'apache/main' into upgrade-sqlparser
alamb d6da6fc
Update dependencies
alamb f553243
handle zero argument form
alamb f8eed01
fmt
alamb 29fac1e
Merge branch 'main' into upgrade-sqlparser
tisonkun 35d66e7
fixup more
tisonkun 60ecc27
fixup more
tisonkun a150073
Merge branch 'main' into upgrade-sqlparser
tisonkun 4fec8ee
try use jmhain's branch
tisonkun 7e665e9
fix compile FunctionArgumentClause exhausted
tisonkun a5f8568
fix compile set multi vars
tisonkun 545abae
fix compile new string values
tisonkun c8d5ea0
fix compile set multi vars
tisonkun 598260f
fix compile Subscript
tisonkun e399416
cargo fmt
tisonkun a4aca5a
revert workaround on values
tisonkun 042e7e8
Merge remote-tracking branch 'apache/main' into upgrade-sqlparser
alamb 3cffded
Rework field access
alamb 1bd355a
update lock
alamb 98b539b
fix doc
alamb 8efc69e
Merge remote-tracking branch 'apache/main' into upgrade-sqlparser
alamb 53c72f5
try catchup new sqlparser version
tisonkun 4d74ef6
fixup timezone expr
tisonkun c1163ad
fixup params
tisonkun e1d0c6b
lock
tisonkun 685025a
Update to sqlparser 0.47.0
alamb ba24a7c
Merge remote-tracking branch 'apache/main' into upgrade-sqlparser
alamb b5743d5
Update rust stack size on windows
alamb d655ad6
Revert "Update rust stack size on windows"
alamb b8d84d5
Merge remote-tracking branch 'apache/main' into upgrade-sqlparser
alamb 8446851
Add test + support for `$$` function definition
alamb 72f61b0
Disable failing windows CI test
alamb 089b571
fmt
alamb c3e475b
simplify test
alamb 50a5a0f
fmt
alamb 2290a8e
Merge remote-tracking branch 'apache/main' into upgrade-sqlparser
alamb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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.
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.
👍
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.
FYI @milenkovicm -- sqlparser changed how the body was represented so now this changes as well to a generic Expr
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.
Thanks for letting me know, @alamb
I just wonder if this change will diverge sqlparser from Postgres?
I guess function like this
Would not be possible without wrapping body with 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.
It seems like we may need to add
$$
string parsing support in sqlparser. I'll try and file a ticket later toddayThere 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.
IIRC we should previously support
$$
function body. If it fails to parse now, it's a regression.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.
It used to work, apache/datafusion-sqlparser-rs#1185
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.
I added a test and made this syntax work in this pr in 8446851