itschrispeck commented on code in PR #15139:
URL: https://github.com/apache/pinot/pull/15139#discussion_r2002313422


##########
pinot-core/src/main/java/org/apache/pinot/core/plan/ProjectPlanNode.java:
##########
@@ -80,9 +80,10 @@ public BaseProjectOperator<?> run() {
     DocIdSetOperator docIdSetOperator =
         _maxDocsPerCall > 0 ? new DocIdSetPlanNode(_segmentContext, 
_queryContext, _maxDocsPerCall,
             _filterOperator).run() : null;
-    ProjectionOperator projectionOperator =
-        ProjectionOperatorUtils.getProjectionOperator(dataSourceMap, 
docIdSetOperator);
-    return hasNonIdentifierExpression ? new TransformOperator(_queryContext, 
projectionOperator, _expressions)
-        : projectionOperator;
+    try (ProjectionOperator projectionOperator =

Review Comment:
   Good catch, it isn't. The change looks more involved, I re-scoped this PR to 
address the scan cases for now as it's easier to cherry-pick for us internally. 
I can add this as a follow up?



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

Reply via email to