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

   ### Purpose
   
   Closes #1355.
   
   Include readable partition context in missing-file deletion conflict errors. 
For example, a stale deletion now reports `(partition=dt=2026-11-09, 
bucket=0)`, making the affected partition easier to locate while continuing to 
reject the deletion with `DataInvalid`.
   
   ### Brief change log
   
   - Reuse the table's partition conversion and escaping rules, including 
configured default and legacy partition names.
   - Report `<non-partitioned>` for unpartitioned tables and fall back to 
serialized partition bytes if formatting fails. Guard out-of-range DATE values 
before formatting so they cannot obscure the conflict.
   - Add regression coverage for repeated deletions, multi-column partitions, 
escaping, null and empty values, DATE formatting, and formatting failures.
   
   ### Tests
   
   - All 150 `TableCommit` unit tests passed across the module run and the 
separate run of the two REST cases requiring local loopback access.
   - Public Rust write API reproduction: the first deletion succeeds; the 
second returns `DataInvalid` with the partition and bucket, without publishing 
another snapshot.
   - `cargo fmt --all -- --check`
   - `git diff --check HEAD^ HEAD`
   
   ### API and Format
   
   Updates error message text only. No public API or storage format changes.
   
   ### Documentation
   
   No documentation changes are needed for this diagnostic improvement.
   


-- 
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