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


##########
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/BaseScannerRegionObserver.java:
##########
@@ -354,10 +361,14 @@ public boolean nextRaw(List<Cell> result) throws 
IOException {
                 overrideDelegate();
                 return super.nextRaw(result);
             }
+            @Override
+            public RegionScanner getNewRegionScanner(Scan scan) throws 
IOException {
+                return new RegionScannerHolder(c, scan,
+                        ((DelegateRegionScanner) 
delegate).getNewRegionScanner(scan));

Review Comment:
   Added try-catch for ClassCastException



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