You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2021/03/24 19:38:28 UTC
[GitHub] [incubator-pinot] Jackie-Jiang commented on a change in pull request #6711: Set thread cpu time in setExecutionStatistics()
Jackie-Jiang commented on a change in pull request #6711:
URL: https://github.com/apache/incubator-pinot/pull/6711#discussion_r600820446
##########
File path: pinot-core/src/main/java/org/apache/pinot/core/operator/combine/SelectionOnlyCombineOperator.java
##########
@@ -60,7 +60,7 @@ protected IntermediateResultsBlock getNextBlock() {
// For LIMIT 0 query, only process one segment to get the data schema
if (_numRowsToKeep == 0) {
IntermediateResultsBlock resultsBlock = (IntermediateResultsBlock) _operators.get(0).nextBlock();
- CombineOperatorUtils.setExecutionStatistics(resultsBlock, _operators);
+ CombineOperatorUtils.setExecutionStatistics(resultsBlock, _operators, 0);
Review comment:
It does not use the worker thread at all, so IMO it is okay to put 0 here. It won't actually process the segment, but just fetch the schema.
--
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org