XiaoHongbo-Hope commented on PR #659: URL: https://github.com/apache/paimon-rust/pull/659#issuecomment-5164273899
Thanks @JingsongLi, fixed in a18eede. Fixed-bucket postpone `TableWrite` is now explicitly one-shot, matching the reference batch writer: once `prepare_commit` starts, further writes and prepare calls return an error and require a new writer. The guard is set before flushing because a failed prepare may already have consumed buffered batches or closed writers. Ordinary writers and legacy postpone writers remain reusable. Added a regression test covering the exact prepare-before-commit reuse sequence, and updated the Rust/C API documentation. Targeted fixed-bucket, reusable-writer, paimon-c tests, fmt, and clippy all pass. -- 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]
