Skip to content

Conversation

@dramaticlly
Copy link
Contributor

@dramaticlly dramaticlly commented Nov 1, 2023

close #8951

This help fix the bug introduced in #7581 where partition table scan entries instead of files to have partition level stats aggregagted over files. In order to have correct stats, only live entries need to be scanned instead of all entries

@dramaticlly
Copy link
Contributor Author

CC @RussellSpitzer @ajantha-bhat @zhangbutao

Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@flyrain flyrain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 Thanks for the fix, @dramaticlly! Curious if we need the test for spark3.3 and 3.2.

Copy link
Contributor Author

@dramaticlly dramaticlly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added corresponding unit test for spark 3.2 and 3.3.

@aokolnychyi aokolnychyi merged commit 0180ef9 into apache:main Nov 2, 2023
@aokolnychyi
Copy link
Contributor

Thanks, @dramaticlly! Thanks for reviewing, @ajantha-bhat @Fokko @flyrain!

zhangbutao added a commit to zhangbutao/hive that referenced this pull request Nov 2, 2023
@dramaticlly dramaticlly deleted the partitionTableFix branch November 2, 2023 17:04
zhangbutao added a commit to zhangbutao/hive that referenced this pull request Nov 3, 2023
zhangbutao added a commit to zhangbutao/hive that referenced this pull request Nov 8, 2023
zhangbutao added a commit to zhangbutao/hive that referenced this pull request Nov 9, 2023
@vaultah
Copy link

vaultah commented Dec 3, 2023

Hello, thanks for the fix! Will it be backported to 1.4.x?

Fokko pushed a commit to Fokko/iceberg that referenced this pull request Dec 3, 2023
Co-authored-by: Steve Zhang <hongyue_zhang@apple.com>
@Fokko
Copy link
Contributor

Fokko commented Dec 3, 2023

@vaultah I think we can do that: #9197

nastra pushed a commit that referenced this pull request Dec 19, 2023
Co-authored-by: Hongyue/Steve Zhang <steveiszhy@gmail.com>
Co-authored-by: Steve Zhang <hongyue_zhang@apple.com>
parthchandra pushed a commit to parthchandra/iceberg that referenced this pull request Oct 22, 2025
…e#1297)

backport apache#8969

Co-authored-by: Hongyue/Steve Zhang <steveiszhy@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Partitions metadata table returns inconsistent results size between 1.3.1 and 1.4.1

6 participants