sunithabeeram commented on a change in pull request #3979: Track "freshness" 
timestamp across consuming segments
URL: https://github.com/apache/incubator-pinot/pull/3979#discussion_r281033640
 
 

 ##########
 File path: 
pinot-core/src/main/java/org/apache/pinot/core/query/executor/ServerQueryExecutorV1Impl.java
 ##########
 @@ -149,6 +150,33 @@ public DataTable processQuery(ServerQueryRequest 
queryRequest, ExecutorService e
       TraceContext.register(requestId);
     }
 
+    int numConsuming = 0;
+    long minIndexTime = Long.MAX_VALUE;
+    long minIngestionTime = Long.MAX_VALUE;
+    // gather stats for realtime consuming segments
+    for (SegmentDataManager segmentMgr : segmentDataManagers) {
 
 Review comment:
   For the question on ReduceService below, we currently don't get the queryId 
passed through to the BrokerReduceService. Will address that in a followup.

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

Reply via email to