kadirozde commented on code in PR #1569:
URL: https://github.com/apache/phoenix/pull/1569#discussion_r1158927417
##########
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/DelegateRegionScanner.java:
##########
@@ -87,4 +88,8 @@ public int getBatch() {
public RegionInfo getRegionInfo() {
return delegate.getRegionInfo();
}
+
+ public RegionScanner getNewRegionScanner(Scan scan) throws IOException {
+ return ((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]