walterddr commented on code in PR #10971: URL: https://github.com/apache/pinot/pull/10971#discussion_r1241315331
########## pinot-query-runtime/src/main/java/org/apache/pinot/query/runtime/plan/pipeline/PipelineBreakerOperator.java: ########## @@ -50,6 +50,9 @@ public PipelineBreakerOperator(OpChainExecutionContext context, _expectedKeySet = ImmutableSet.copyOf(pipelineWorkerMap.keySet()); _workerEntries = new ArrayDeque<>(); _workerEntries.addAll(pipelineWorkerMap.entrySet()); + for (int workerKey : _expectedKeySet) { + _resultMap.put(workerKey, new ArrayList<>()); Review Comment: Oh this is b/c we might be null instead of empty pipeline result from a stage. Alternatively we can handle null and empty as equal when retrieve pipeline breaker results -- 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