JingsongLi opened a new pull request, #935:
URL: https://github.com/apache/paimon-rust/pull/935

   ## Summary
   
   Java gives each Postpone Bucket writer a numeric `writeId` when one is not 
supplied. Rust used `0` for every writer, so two writers with the same commit 
user produced the same writer prefix. Java groups postpone files by that prefix 
when preserving each writer's order.
   
   Generate one nonnegative write ID per Rust `TableWrite` and keep it stable 
across its files. This follows Java's file-name structure while separating 
independent writers.
   
   ## Verification
   
   - Added a test that failed on `main`: two writers with the same commit user 
had identical `data--u-...-s-0` prefixes.
   - `cargo test -p paimon test_postpone_write --lib` — 7 passed.
   - `cargo test -p paimon 
test_custom_commit_user_is_shared_by_write_and_commit --lib` — passed.
   - `cargo fmt --all --check` — passed.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to