You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "QuakeWang (via GitHub)" <gi...@apache.org> on 2026/09/10 08:32:22 UTC

[PR] fix(file_index): skip pruning for narrowing integer schema changes [paimon-rust]

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

   ### Purpose
   
   Follow-up to #783. FileIndex predicate remapping checked literal conversion but allowed narrowing integer schema changes. An old INT value such as 383 becomes NULL when read as TINYINT, so pushing IS NULL into the old index can incorrectly discard matching rows.
   
   ### Brief change log
   
   - Reject index predicate remapping for narrowing integer changes, matching Java's fallback rule.
   - Preserve safe integer widening and add regression tests for predicate composition and index-enabled/disabled result equivalence.
   
   ### Tests
   
   - `cargo fmt --all -- --check`
   - `cargo clippy --locked --all-targets --workspace --features fulltext,vortex -- -D warnings`
   - `cargo test --locked -p paimon --all-targets --features fulltext,vortex`
   
   ### API and Format
   
   No changes.
   
   ### Documentation
   
   No changes needed.
   


-- 
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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(file_index): skip pruning for narrowing integer schema changes [paimon-rust]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #806:
URL: https://github.com/apache/paimon-rust/pull/806


-- 
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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org