Akanksha-kedia commented on PR #17709:
URL: https://github.com/apache/pinot/pull/17709#issuecomment-3907556037

   curl -X POST http://localhost:9001/sql -H "Content-Type: application/json" 
-d '{"sql":"SELECT COUNT(*) FROM baseballStats"}' | jq .
   
   % Total % Received % Xferd Average Speed Time Time Time Current
   Dload Upload Total Spent Left Speed
   100 1610 100 1566 100 44 28979 814 --:--:-- --:--:-- --:--:-- 29814
   {
   "resultTable": {
   "dataSchema": {
   "columnNames": [
   "count(*)"
   ],
   "columnDataTypes": [
   "LONG"
   ]
   },
   "rows": [
   [
   97889
   ]
   ]
   },
   "numRowsResultSet": 1,
   "partialResult": false,
   "exceptions": [],
   "numGroupsLimitReached": false,
   "numGroupsWarningLimitReached": false,
   "timeUsedMs": 10,
   "controllerExecutionTimeMs": 25,
   "requestId": "1648150687000000002",
   "clientRequestId": null,
   "brokerId": "Broker_localhost_8099",
   "numDocsScanned": 97889,
   "totalDocs": 97889,
   "numEntriesScannedInFilter": 0,
   "numEntriesScannedPostFilter": 0,
   "numServersQueried": 1,
   "numServersResponded": 1,
   "numSegmentsQueried": 1,
   "numSegmentsProcessed": 1,
   "numSegmentsMatched": 1,
   "numConsumingSegmentsQueried": 0,
   "numConsumingSegmentsProcessed": 0,
   "numConsumingSegmentsMatched": 0,
   "minConsumingFreshnessTimeMs": 0,
   "numSegmentsPrunedByBroker": 0,
   "numSegmentsPrunedByServer": 0,
   "numSegmentsPrunedInvalid": 0,
   "numSegmentsPrunedByLimit": 0,
   "numSegmentsPrunedByValue": 0,
   "brokerReduceTimeMs": 0,
   "offlineThreadCpuTimeNs": 0,
   "realtimeThreadCpuTimeNs": 0,
   "offlineSystemActivitiesCpuTimeNs": 0,
   "realtimeSystemActivitiesCpuTimeNs": 0,
   "offlineResponseSerializationCpuTimeNs": 0,
   "realtimeResponseSerializationCpuTimeNs": 0,
   "offlineTotalCpuTimeNs": 0,
   "realtimeTotalCpuTimeNs": 0,
   "explainPlanNumEmptyFilterSegments": 0,
   "explainPlanNumMatchAllFilterSegments": 0,
   "traceInfo": {},
   "tablesQueried": [
   "baseballStats"
   ],
   "offlineThreadMemAllocatedBytes": 0,
   "realtimeThreadMemAllocatedBytes": 0,
   "offlineResponseSerMemAllocatedBytes": 0,
   "realtimeResponseSerMemAllocatedBytes": 0,
   "offlineTotalMemAllocatedBytes": 0,
   "realtimeTotalMemAllocatedBytes": 0,
   "pools": [
   -1
   ],
   "rlsFiltersApplied": false,
   "groupsTrimmed": false
   }
   
   (https://github.com/apache/pinot/pull/17647#issuecomment-3902232963)
   curl -X POST http://localhost:8099/query/sql -H "Content-Type: 
application/json" -d '{"sql":"SELECT COUNT() FROM baseballStats"}' | jq .
   % Total % Received % Xferd Average Speed Time Time Time Current
   Dload Upload Total Spent Left Speed
   100 1610 100 1566 100 44 22778 640 --:--:-- --:--:-- --:--:-- 23676
   {
   "resultTable": {
   "dataSchema": {
   "columnNames": [
   "count()"
   ],
   "columnDataTypes": [
   "LONG"
   ]
   },
   "rows": [
   [
   97889
   ]
   ]
   },
   "numRowsResultSet": 1,
   "partialResult": false,
   "exceptions": [],
   "numGroupsLimitReached": false,
   "numGroupsWarningLimitReached": false,
   "timeUsedMs": 37,
   "controllerExecutionTimeMs": -1,
   "requestId": "1648150687000000004",
   "clientRequestId": null,
   "brokerId": "Broker_localhost_8099",
   "numDocsScanned": 97889,
   "totalDocs": 97889,
   "numEntriesScannedInFilter": 0,
   "numEntriesScannedPostFilter": 0,
   "numServersQueried": 1,
   "numServersResponded": 1,
   "numSegmentsQueried": 1,
   "numSegmentsProcessed": 1,
   "numSegmentsMatched": 1,
   "numConsumingSegmentsQueried": 0,
   "numConsumingSegmentsProcessed": 0,
   "numConsumingSegmentsMatched": 0,
   "minConsumingFreshnessTimeMs": 0,
   "numSegmentsPrunedByBroker": 0,
   "numSegmentsPrunedByServer": 0,
   "numSegmentsPrunedInvalid": 0,
   "numSegmentsPrunedByLimit": 0,
   "numSegmentsPrunedByValue": 0,
   "brokerReduceTimeMs": 0,
   "offlineThreadCpuTimeNs": 0,
   "realtimeThreadCpuTimeNs": 0,
   "offlineSystemActivitiesCpuTimeNs": 0,
   "realtimeSystemActivitiesCpuTimeNs": 0,
   "offlineResponseSerializationCpuTimeNs": 0,
   "realtimeResponseSerializationCpuTimeNs": 0,
   "offlineTotalCpuTimeNs": 0,
   "realtimeTotalCpuTimeNs": 0,
   "explainPlanNumEmptyFilterSegments": 0,
   "explainPlanNumMatchAllFilterSegments": 0,
   "traceInfo": {},
   "tablesQueried": [
   "baseballStats"
   ],
   "offlineThreadMemAllocatedBytes": 0,
   "realtimeThreadMemAllocatedBytes": 0,
   "offlineResponseSerMemAllocatedBytes": 0,
   "realtimeResponseSerMemAllocatedBytes": 0,
   "offlineTotalMemAllocatedBytes": 0,
   "realtimeTotalMemAllocatedBytes": 0,
   "pools": [
   -1
   ],
   "rlsFiltersApplied": false,
   "groupsTrimmed": false
   }


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