Skip to content
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

HIVE-26274: No vectorization if query has upper case window function #3332

Merged
merged 2 commits into from
Jun 2, 2022

Conversation

kasakrisz
Copy link
Contributor

What changes were proposed in this pull request?

Convert window function names to lower case when looking up in vectorizable function registry.

Why are the changes needed?

Support case insensitivity of window functions when vectorizing PTF operator.

Does this PR introduce any user-facing change?

No, but explain vectorization output may change if query has window functions

How was this patch tested?

mvn test -Dtest.output.overwrite -DskipSparkTests -Dtest=TestMiniLlapLocalCliDriver -Dqfile=vector_ptf_1.q -pl itests/qtest -Pitests

@abstractdog
Copy link
Contributor

LGTM, thanks for the patch @kasakrisz

@kasakrisz kasakrisz merged commit 6c57f42 into apache:master Jun 2, 2022
@kasakrisz kasakrisz deleted the HIVE-26274-master-row_number branch June 2, 2022 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants