You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "plusplusjiajia (via GitHub)" <gi...@apache.org> on 2026/10/04 14:38:08 UTC
[PR] fix(arrow): map NULL to false in decimal residual leaf masks [paimon-rust]
plusplusjiajia opened a new pull request, #1030:
URL: https://github.com/apache/paimon-rust/pull/1030
### Purpose
A residual filter over a nullable DECIMAL column panics in debug builds when the decimal leaf sits inside AND or OR, as @JingsongLi found while reviewing #1018. `evaluate_exact_leaf_predicate` promises a mask with NULL mapped to false, and every leaf branch keeps that promise except decimals: `evaluate_decimal_leaf` marks a NULL row NULL, and `combine_filter_masks` asserts its inputs have none. Release builds return the right rows only because those NULL slots happen to hold false.
### Brief change log
The decimal branch passes its mask through `sanitize_filter_mask`, as the other comparison branches and the other caller of `evaluate_decimal_leaf` already do.
### Tests
A unit test filters a nullable DECIMAL column with AND and with OR. It hit the assertion before this change.
### API and Format
No API or format change.
### Documentation
None.
--
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(arrow): map NULL to false in decimal residual leaf masks [paimon-rust]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #1030:
URL: https://github.com/apache/paimon-rust/pull/1030
--
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