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-23877: Hive on Spark incorrect partition pruning ANALYZE TABLE #1278

Closed
wants to merge 1 commit into from

Conversation

fornaix
Copy link

@fornaix fornaix commented Jul 19, 2020

Fixes HIVE-23877

Partitions are pruned based on the partition specification in ANALYZE TABLE command and cached in TableSpec.
When compiling, It's unnecessary to use PartitionPruner.prune() to get partitions again. And PartitionPruner can not prune partitions for ANALYZE TABLE command, so it will get all partitions.

@belugabehr
Copy link
Contributor

Please target Hive 3.x on this work. Most likely removing Hive on Spark from Hive 4 (master branch)

@fornaix fornaix changed the base branch from master to branch-3 July 23, 2020 09:08
@fornaix
Copy link
Author

fornaix commented Jul 23, 2020

@belugabehr Thanks for your feedback. Could you help review this pr and let me know if you have any questions?

@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Feel free to reach out on the dev@hive.apache.org list if the patch is in need of reviews.

@github-actions github-actions bot added the stale label Sep 22, 2020
@github-actions github-actions bot closed this Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants