Jackie-Jiang commented on code in PR #8523: URL: https://github.com/apache/pinot/pull/8523#discussion_r850808333
########## pinot-core/src/main/java/org/apache/pinot/core/plan/CombinePlanNode.java: ########## @@ -185,4 +136,84 @@ public List<Operator> callJob() { return new DistinctCombineOperator(operators, _queryContext, _executorService); } } + + private List<Operator> getOperatorsSingleThreaded() { + List<Operator> operators = new ArrayList<>(_planNodes.size()); + for (PlanNode planNode : _planNodes) { + operators.add(planNode.run()); + } + return operators; + } + + private List<Operator> getOperatorsMultiThreaded(int numThreads) { Review Comment: I added this scope because the thread is registered to the trace, but nothing is traceable currently under the thread, so the thread will have empty trace info. But I guess that is okay. Removed the scope here to have the same behavior with the combine operator. -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org