mcvsubbu commented on a change in pull request #3614: Adding a class to get
statistics about a request (query) processed by…
URL: https://github.com/apache/incubator-pinot/pull/3614#discussion_r241496840
##########
File path:
pinot-broker/src/main/java/com/linkedin/pinot/broker/requesthandler/BaseBrokerRequestHandler.java
##########
@@ -269,6 +288,8 @@ public BrokerResponse handleRequest(JSONObject request,
@Nullable RequesterIdent
// Set total query processing time
long totalTimeMs = TimeUnit.NANOSECONDS.toMillis(executionEndTimeNs -
compilationStartTimeNs);
brokerResponse.setTimeUsedMs(totalTimeMs);
+ requestStatistics.setQueryProcessingTime(totalTimeMs);
+ requestStatistics.setStatistics(brokerResponse);
Review comment:
The one in line 131 is set using brokerRequest (and this one is from
brokerResponse).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]