feat(go): add postpone fixed-bucket write bindings - #722
Open
XiaoHongbo-Hope wants to merge 3 commits into
Open
Conversation
Expose the dedicated fixed-bucket write path for bucket = -2 tables through typed builder, writer, commit-message, and committer handles so they cannot be mixed with the standard write path. The caller supplies a resolved partition-to-bucket-count plan; Go performs no planning.
XiaoHongbo-Hope
marked this pull request as draft
August 17, 2026 05:49
Collapse the bucket-plan helper into an inline example and merge the constraint prose. Same coverage, fewer words. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Extend the example through WriteArrowBatch, PrepareCommit, NewCommit, and Commit so it is runnable as-is, and drop the now-redundant lifecycle reference. Per review feedback on apache#722. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
XiaoHongbo-Hope
marked this pull request as ready for review
August 17, 2026 07:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Expose the dedicated postpone fixed-bucket write path to Go.
Changes
Scope
This API writes real buckets for
bucket = -2tables. Planning, shuffling,preclustering, and cross-process commit-message serialization remain the
integration's responsibility. Writers sharing one commit must use the same plan
and commit user, with one owner per
(partition, bucket).This PR adds Go bindings for the Rust/C primitives introduced by #659 and does
not change the storage format.