JingsongLi opened a new pull request, #9060:
URL: https://github.com/apache/paimon/pull/9060

   ### Purpose
   
   Follow up on #8945 by moving negative-predicate range complement handling 
into range-aware sorted index readers.
   
   - add a backward-compatible `GlobalIndexer#createReader` overload carrying 
the shard-local row-id range
   - keep `OffsetGlobalIndexReader` focused on row-id coordinate translation
   - share exact complement handling for `IS NOT NULL`, `!=`, and `NOT IN` in 
`SortedFileGlobalIndexReader`
   - enable the optimized path for both BTree and Bitmap indexes
   - preserve the existing per-file evaluation path when a complete row-id 
range is unavailable
   
   This removes the implicit `supportsRangeComplement()` protocol and makes the 
component that owns exact predicate evaluation responsible for complement 
semantics.
   
   ### Tests
   
   - `mvn -pl paimon-common -Pfast-build -DwildcardSuites=none 
-Dtest='GlobalIndexEvaluatorTest,LazyFilteredBitmapIndexReaderTest,LazyFilteredBTreeIndexReaderTest#testOffsetRangeComplementAvoidsOpeningAllBTreeFiles'
 test`
   - `mvn -q -pl paimon-core -am -Pfast-build -DfailIfNoTests=false 
-DwildcardSuites=none 
-Dtest='BitmapGlobalIndexTableTest#testBitmapGlobalIndexComplementsAndNulls' 
test`
   - `mvn -pl paimon-common,paimon-core -DskipTests compile`
   - `mvn -q -pl paimon-common,paimon-core -DskipTests validate`
   


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