sanjeet006py commented on code in PR #2084:
URL: https://github.com/apache/phoenix/pull/2084#discussion_r1974841051


##########
phoenix-core-client/src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java:
##########
@@ -376,8 +378,12 @@ private PhoenixResultSet executeQuery(final 
CompilableStatement stmt,
                                         && stmt.getOperation() != 
Operation.UPGRADE) {
                                     throw new UpgradeRequiredException();
                                 }
+                                final long queryPlanCreationStartTime = 
System.nanoTime();

Review Comment:
   Good to use `EnvironmentEdgeManager` instead of using `System.nanoTime()` 
directly as it gives us flexibility to control clock during ITs. 



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