HappenLee commented on code in PR #32673:
URL: https://github.com/apache/doris/pull/32673#discussion_r1540421446


##########
be/src/exec/exec_node.cpp:
##########
@@ -110,9 +121,20 @@ Status ExecNode::init(const TPlanNode& tnode, 
RuntimeState* state) {
     }
 
     // create the projections expr
-    if (tnode.__isset.projections) {
-        DCHECK(tnode.__isset.output_tuple_id);
-        
RETURN_IF_ERROR(vectorized::VExpr::create_expr_trees(tnode.projections, 
_projections));
+    if (!tnode.projections_list.empty()) {
+        for (const auto& tnode_projections : tnode.projections_list) {
+            vectorized::VExprContextSPtrs projections;
+            
RETURN_IF_ERROR(vectorized::VExpr::create_expr_trees(tnode_projections, 
projections));
+            _intermediate_projections.push_back(projections);
+        }
+        _projections = _intermediate_projections.back();
+        _intermediate_projections.pop_back();
+

Review Comment:
   del space



-- 
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...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to