Skip to content

Conversation

@aiborodin
Copy link
Contributor

This PR re-opens #14312.

@aiborodin aiborodin force-pushed the refactor-commit-aggregation branch from 2a3c522 to a56fb66 Compare December 11, 2025 08:19
@aiborodin aiborodin force-pushed the refactor-commit-aggregation branch 2 times, most recently from 47f7a8b to e9276da Compare December 17, 2025 23:57
@aiborodin aiborodin force-pushed the refactor-commit-aggregation branch 2 times, most recently from 17ed528 to 20c4f25 Compare December 19, 2025 05:32
@aiborodin aiborodin force-pushed the refactor-commit-aggregation branch 2 times, most recently from bfae861 to 247e47e Compare January 8, 2026 06:33
Copy link
Contributor

@mxm mxm left a comment

Choose a reason for hiding this comment

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

Thanks @aiborodin!

@aiborodin aiborodin force-pushed the refactor-commit-aggregation branch from 247e47e to 3c5fd23 Compare January 9, 2026 00:16
DynamicWriteResultAggregator currently produces multiple committables
per (table, branch, checkpoint), which get aggregated in the downstream
committer. Refactor the commit aggregator to output only one committable
per triplet. Clean up DynamicCommitter to remove assumptions of multiple
commit requests per table, branch, and checkpoint.

This requires serializing the aggregated WriteResult using multiple
temporary manifest files for each unique partition spec because the
Iceberg manifest writer requires a single spec per manifest file. We
can improve this later by refactoring serialization in the following
changes.

Change-Id: I6d96c376ad9f3f04f864aef05966d5d0862ef051
@aiborodin aiborodin force-pushed the refactor-commit-aggregation branch from 3c5fd23 to a19ac9a Compare January 9, 2026 05:40
@pvary pvary merged commit 6f7b568 into apache:main Jan 9, 2026
46 checks passed
@pvary
Copy link
Contributor

pvary commented Jan 9, 2026

Merged to main.
Huhh.. this was a big one!
Thanks @aiborodin for finding the issue and for persisting through all this review rounds!
Thanks @mxm for the review!

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.

4 participants