apurtell commented on code in PR #2525:
URL: https://github.com/apache/phoenix/pull/2525#discussion_r3406920174


##########
phoenix-core-client/src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java:
##########
@@ -1003,16 +999,16 @@ public QueryPlan compilePlan(PhoenixStatement stmt, 
Sequence.ValueOp seqAction)
           
stmt.getConnection().getQueryServices().getOptimizer().optimize(stmt, dataPlan);
       }
       final StatementPlan plan = compilePlan;
+      // Propagate the parsed EXPLAIN options onto the resolved plan's context 
so the renderer has
+      // access to the requested options.
+      if (plan.getContext() != null) {
+        plan.getContext().setExplainOptions(getOptions());
+      }

Review Comment:
   The differences will become apparent in the next subtasks. 



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