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-28727: Iceberg: Refactor IcebergTableUtil.toPartitionData #5622

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

okumin
Copy link
Contributor

@okumin okumin commented Jan 25, 2025

What changes were proposed in this pull request?

Clean up our Iceberg utilities.

Why are the changes needed?

For clean up + add some regression tests.

Does this PR introduce any user-facing change?

No

Is the change a dependency upgrade?

No.

How was this patch tested?

I updated an existing qtest.

{"company_id":100,"dept_id":1,"team_id":null} 1 0 3
{"company_id":100,"dept_id":2,"team_id":null} 1 0 3
{"company_id":null,"dept_id":null,"team_id":null} 1 0 1
{"company_id":null,"dept_id":null,"team_id":null} 1 0 2
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I wonder why two {"company_id":null,"dept_id":null,"team_id":null} remain. I think it is minor and out of scope of HIVE-28727

@okumin okumin marked this pull request as ready for review January 26, 2025 02:16
@okumin
Copy link
Contributor Author

okumin commented Jan 26, 2025

@difin Could you please have a look? You are one of the most familiar engineers with Apache Icebergs' compaction.

@okumin okumin changed the title [WIP] HIVE-28727: Iceberg: Null partitions make major compactions fail HIVE-28727: Iceberg: Null partitions make major compactions fail Jan 26, 2025
Copy link
Member

@deniskuzZ deniskuzZ left a comment

Choose a reason for hiding this comment

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

+1, pending green build
thx @okumin!

@okumin okumin changed the title HIVE-28727: Iceberg: Null partitions make major compactions fail HIVE-28727: Iceberg: Refactor IcebergTableUtil.toPartitionData Feb 13, 2025
@okumin okumin merged commit fa6813f into apache:master Feb 13, 2025
6 checks passed
@okumin okumin deleted the HIVE-28727-compaction-null branch February 13, 2025 04:46
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.

3 participants