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.
Consolidate
MapAccess
, andSubscript
intoCompoundExpr
to handle the complex field access chain #1551New 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
Consolidate
MapAccess
, andSubscript
intoCompoundExpr
to handle the complex field access chain #1551Changes from 15 commits
192cab4
6be3c35
0e916dd
767b531
22f4e67
dee8b40
fc1cd59
8590896
4ad37d8
31a1e74
0355290
1de9b21
2a32b9f
495d1b3
e7b55be
6652905
47a5da1
b58e50c
7cb2e00
397335a
ac25e5d
a08e5c2
09b39eb
8968fcc
1328274
d6743e9
7d030c1
90e03eb
5c54d1b
57830e2
4b3818c
67cd877
23aea03
94847d7
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Ah I don't think this is necessarily correct since partiql is a redshift feature, was this required somewhere?
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 tried to integrate the conditions at
datafusion-sqlparser-rs/src/parser/mod.rs
Lines 2998 to 3000 in d0fcc06
Then, we can only check
supports_partiql
inparse_compound_expr
. 🤔Indeed, the name is a little weird for
Snowflake
but I think they mean the same thing 🤔