-
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
Rewrite array operator to function in parser #11101
Conversation
Signed-off-by: jayzhan211 <jayzhan211@gmail.com>
Signed-off-by: jayzhan211 <jayzhan211@gmail.com>
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.
Looks like a nice cleanup to me . Thank you @jayzhan211
@@ -61,91 +59,6 @@ impl FunctionRewrite for ArrayFunctionRewriter { | |||
Transformed::yes(array_has_all(*right, *left)) | |||
} | |||
|
|||
// Column cases: |
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.
Should we do the same thing for the other operators (AtArrow)?
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.
yes!
Thanks @alamb |
* rewrite func Signed-off-by: jayzhan211 <jayzhan211@gmail.com> * remove rule in analyzer Signed-off-by: jayzhan211 <jayzhan211@gmail.com> * fix test Signed-off-by: jayzhan211 <jayzhan211@gmail.com> --------- Signed-off-by: jayzhan211 <jayzhan211@gmail.com>
Which issue does this PR close?
Closes #.
Part of #8506 and #10534
and nice to have for #9857
Rationale for this change
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?