vrajat opened a new issue, #14624:
URL: https://github.com/apache/pinot/issues/14624

   Reproduce:
   * Start `MultiStageQueryEngineQuickStart`.
   * Run the following commands:
   
   ```
   # Run query using SSE
    curl --request POST http://localhost:9000/sql --data '{"sql":"SELECT 
playerName, teamID FROM baseballStats_OFFLINE LIMIT 10", 
"queryOptions":"useMultistageEngine=false"}' | jq > /tmp/sse
   
   # Run query using MSE
   curl --request POST http://localhost:9000/sql --data '{"sql":"SELECT 
playerName, teamID FROM baseballStats_OFFLINE LIMIT 10", 
"queryOptions":"useMultistageEngine=true"}' | jq > /tmp/mse
   ```
   
   The relevant portions of diff are:
   ```
    diff /tmp/sse /tmp/mse
   
   67,68c131,132
   <   "numServersQueried": 1,
   <   "numServersResponded": 1,
   ---
   >   "numServersQueried": 0,
   >   "numServersResponded": 0,
   ```
   
   Note that lines starting with `>` are from `/tmp/mse`
   
   Other fields are set to 0 as well but it is not clear to me if the time 
taken was > 0 ms.
   
   ```
   81,82c145,146
   <   "brokerReduceTimeMs": 0,
   <   "offlineThreadCpuTimeNs": 129000,
   ---
   >   "brokerReduceTimeMs": 2,
   >   "offlineThreadCpuTimeNs": 0,
   84c148
   <   "offlineSystemActivitiesCpuTimeNs": 44042,
   ---
   >   "offlineSystemActivitiesCpuTimeNs": 0,
   86c150
   <   "offlineResponseSerializationCpuTimeNs": 9000,
   ---
   >   "offlineResponseSerializationCpuTimeNs": 0,
   88c152
   <   "offlineTotalCpuTimeNs": 182042,
   ---
   >   "offlineTotalCpuTimeNs": 0,
   ```


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

Reply via email to