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

PartitionStatsUtil#computeStats returns incomplete stats in case of partition evolution #12168

Open
1 of 3 tasks
deniskuzZ opened this issue Feb 4, 2025 · 1 comment
Open
1 of 3 tasks
Labels
bug Something isn't working

Comments

@deniskuzZ
Copy link
Member

deniskuzZ commented Feb 4, 2025

Apache Iceberg version

1.7.0, 1.7.1, main

Query engine

None

Please describe the bug 🐞

Description:
PartitionMap creates internal wrappers based on table specs partitionType, however, we are passing coercedPartition with unified partition type considering all specs as a KEY, leading to wrong evaluation.

Repro:
https://github.com/apache/hive/blob/master/iceberg/iceberg-handler/src/test/queries/positive/iceberg_bucket_map_join_4.q

Willingness to contribute

  • I can contribute a fix for this bug independently
  • I would be willing to contribute a fix for this bug with guidance from the Iceberg community
  • I cannot contribute a fix for this bug at this time
@deniskuzZ
Copy link
Member Author

#12137

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant