XiaoHongbo-Hope opened a new pull request, #1055:
URL: https://github.com/apache/paimon-rust/pull/1055

   ## Purpose
   
   Native FLOAT/DOUBLE sequence fields used Arrow ordering, which distinguishes 
NaN bit patterns. Java Paimon treats all NaNs as equal, so ascending native 
writes could keep the earlier row instead of applying last-write-wins.
   
   ## Changes
   
   - Canonicalize NaNs only in sequence ordering keys for flush sorting and 
cross-file merge.
   - Preserve stored values and Java's signed-zero ordering.
   - Cover FLOAT/DOUBLE, both NaN input orders, all primary-key merge engines, 
ascending/descending order, and same-flush/cross-commit merges.
   
   ## Verification
   
   - `cargo test -p paimon --lib`: 3738 passed, 6 ignored.
   - `cargo test -p paimon --test pk_user_sequence_parity_test`: 5 passed.
   - `cargo clippy --locked -p paimon --all-targets -- -D warnings`.
   - PyPaimon master `test_sequence_field_write.py` with the local binding: 86 
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