kadirozde commented on code in PR #2428:
URL: https://github.com/apache/phoenix/pull/2428#discussion_r3192177935
##########
phoenix-core-client/src/main/java/org/apache/phoenix/compile/StatementContext.java:
##########
@@ -309,6 +310,20 @@ public void setScanRanges(ScanRanges scanRanges) {
scanRanges.initializeScan(scan);
}
+ /**
+ * V2-owned metadata attached by the V2 scan-construction path; null under
the V1 path
+ * ({@code WHERE_OPTIMIZER_V2_ENABLED=false}). Consumers (currently the
explain-plan
+ * formatter) prefer this when present; others are unaffected.
+ */
+ public org.apache.phoenix.compile.keyspace.scan.V2ScanArtifact
getV2ScanArtifact() {
+ return this.v2ScanArtifact;
+ }
+
+ public void setV2ScanArtifact(
+ org.apache.phoenix.compile.keyspace.scan.V2ScanArtifact artifact) {
+ this.v2ScanArtifact = artifact;
Review Comment:
Fixed it with commit 9769d0e
--
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]