kadirozde commented on code in PR #1569:
URL: https://github.com/apache/phoenix/pull/1569#discussion_r1157914727
##########
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:
Regardless if you check or not, when the instance is not of the expected
type, an exception should be thrown.
--
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]