siddharthteotia commented on code in PR #9191:
URL: https://github.com/apache/pinot/pull/9191#discussion_r948397953
##########
pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/BaseBrokerRequestHandler.java:
##########
@@ -289,8 +292,9 @@ private BrokerResponseNative handleRequest(long requestId,
String query,
}
long compilationEndTimeNs = System.nanoTime();
+ // full request compile time = compilationTimeNs + parserTimeNs
_brokerMetrics.addPhaseTiming(rawTableName,
BrokerQueryPhase.REQUEST_COMPILATION,
- compilationEndTimeNs - compilationStartTimeNs);
+ (compilationEndTimeNs - compilationStartTimeNs) +
sqlNodeAndOptions.getParseTimeNs());
Review Comment:
Ignore my previous comment. Just saw this and now it makes sense.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]