Gabriel39 opened a new pull request, #70952:
URL: https://github.com/apache/doris/pull/70952

   ### What problem does this PR solve?
   
   Issue Number: None
   Related PR: #70862
   PR Type: Bugfix
   
   Backport #70862 to branch-4.1. ORC Bloom filters hash positive and negative 
floating-point zero differently, while SQL considers them equal. The native ORC 
SARG adapter must probe both signs in one IN leaf to avoid pruning matching 
rows.
   
   ### Details
   
   - Cherry-pick master commit 2ed7dc60c5bc327cd744999409cf9ea779ccba60.
   - Preserve the original production fix, parameterized real-ORC unit 
coverage, fixtures and SQL regression coverage.
   - Explicitly select and restore `enable_file_scanner_v2` in the regression 
suite because this backport fixes the native SARG adapter. The legacy reader 
uses a separate predicate builder and is outside the original PR's scope.
   
   ### Testing
   
   - clang-format 16 check passes for all three affected C++ files.
   - Independently decoded both ORC fixtures with PyArrow and verified 4,000 
rows per file, signed-zero groups, NULLs and the expected stripe counts.
   - Groovy syntax validation passes for the regression suite.
   - Diff whitespace check passes with generated result-file EOF separators 
allowed.
   - BE unit tests and SQL integration tests were not rerun on branch-4.1; CI 
is required for executable coverage.
   
   ### Release note
   
   Fix missing rows in native ORC scans when floating-point Bloom pruning 
encounters equality or IN predicates involving positive and negative zero.
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to