-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[WIP] Fix incorrect FILTER clause evaluation order #533
Conversation
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please submit the signed CLA to cla@prestosql.io. For more information, see https://github.com/prestosql/cla. |
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please submit the signed CLA to cla@prestosql.io. For more information, see https://github.com/prestosql/cla. |
Hi, thank you for creating this PR. Unfortunately(?), h2database 1.4.198 added INTERVAL data type and it breaks existing unit tests.
|
@ebyhr do you think it'd be OK to remove that from the set of nonreserved time words? |
I think it's not OK since they aren't reserved keyword as presto. Also, it seems below test class ensures filter and aggregation order. |
It is actually a bug in Presto. It looks like some recent change made that specific shape of query succeed. I updated the example with a version that triggers the problem:
|
Could it be related to: prestodb/presto#11425? |
This is not an issue with H2, but a bug in Presto, as described above. Closing, since it doesn't address the underlying problem. Please reopen once you've updated the implementation. |
example test output: