zhoulii commented on code in PR #8945:
URL: https://github.com/apache/paimon/pull/8945#discussion_r3703566149
##########
paimon-common/src/main/java/org/apache/paimon/globalindex/btree/LazyFilteredBTreeReader.java:
##########
@@ -56,6 +56,11 @@ public LazyFilteredBTreeReader(
this.keySerializer = keySerializer;
}
+ @Override
+ public boolean supportsRangeComplement() {
Review Comment:
Yes, technically Bitmap can also use the range-complement path.
However, the benefit is generally smaller than for BTree. Bitmap already
stores nonNullRows as a bitmap, making per-file negative evaluation cheap,
while BTree must scan all non-null key entries and row IDs in each selected
file.
--
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]