kadirozde commented on code in PR #1923:
URL: https://github.com/apache/phoenix/pull/1923#discussion_r1664503567


##########
phoenix-core-server/src/main/java/org/apache/phoenix/coprocessor/PagingRegionScanner.java:
##########
@@ -59,8 +70,32 @@ public PagingRegionScanner(Region region, RegionScanner 
scanner, Scan scan) {
         if (pagingFilter != null) {
             pagingFilter.init();
         }
+
+        TableDescriptor tableDescriptor = region.getTableDescriptor();
+        BloomType bloomFilterType = 
tableDescriptor.getColumnFamilies()[0].getBloomFilterType();
+        if (bloomFilterType == BloomType.ROW) {
+            // Check if the scan is a multi-point-lookup scan
+            skipScanFilter = ScanUtil.getSkipScanFilter(scan);

Review Comment:
   We do not have to remove the skip scan filter and but it makes sense to 
remove it for simplicity and efficiency (that is one less filter).



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