-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Only simplified path threw exception: IN predicate supports only constant IN list #3041
Comments
The evaluated expression is I feel both behaviors are expected respectively. |
@oerling is going to enable constant-folding in simplified path as well. This change will make the two paths behave the same. |
@kagamiori @oerling Is there an ETA for the fix? |
Looking at this, Velox support select 1 in array(1,2,3) and select 1 in reverse(1,2,3) which are not supported in prestoSQL. select 1 in Array[1,2,3] I propose that we right IN as special form that have constant list of literals. |
What changes were proposed in this pull request? (Please fill in changes proposed in this fix) Fixes: facebookincubator#3041 How was this patch tested? (Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests) unit tests
Repro files:
in.tar.gz
The text was updated successfully, but these errors were encountered: