lokiore commented on code in PR #1517:
URL: https://github.com/apache/phoenix/pull/1517#discussion_r991677529


##########
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/BaseScannerRegionObserver.java:
##########
@@ -262,7 +262,7 @@ public void 
preScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<R
             // last possible moment. You need to swap the start/stop and make 
the
             // start exclusive and the stop inclusive.
             ScanUtil.setupReverseScan(scan);
-            if (scan.getFilter() != null && !(scan.getFilter() instanceof 
PagedFilter)) {
+            if (!(scan.getFilter() instanceof PagedFilter)) {

Review Comment:
   Previously, scans without filter were not being paged as we enabled them for 
filters only which were having large scans, but now after discussing with 
@kadirozde we are enabling them for all scans!



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