This is an automated email from the ASF dual-hosted git repository.

hongze pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git


The following commit(s) were added to refs/heads/main by this push:
     new 5bf3585082 [VL] Fix columns added to outNames twice when building 
Substrait plan
5bf3585082 is described below

commit 5bf3585082e4e360d685d0f098e0a03f2ede629c
Author: Mingliang Zhu <[email protected]>
AuthorDate: Fri Sep 20 11:18:36 2024 +0800

    [VL] Fix columns added to outNames twice when building Substrait plan
---
 .../main/scala/org/apache/gluten/execution/WholeStageTransformer.scala | 3 ---
 1 file changed, 3 deletions(-)

diff --git 
a/gluten-substrait/src/main/scala/org/apache/gluten/execution/WholeStageTransformer.scala
 
b/gluten-substrait/src/main/scala/org/apache/gluten/execution/WholeStageTransformer.scala
index 6892921f83..b01dd9845f 100644
--- 
a/gluten-substrait/src/main/scala/org/apache/gluten/execution/WholeStageTransformer.scala
+++ 
b/gluten-substrait/src/main/scala/org/apache/gluten/execution/WholeStageTransformer.scala
@@ -223,9 +223,6 @@ case class WholeStageTransformer(child: SparkPlan, 
materializeInput: Boolean = f
         outputSchema,
         null)
     } else {
-      for (attr <- childCtx.outputAttributes) {
-        outNames.add(ConverterUtils.genColumnNameWithExprId(attr))
-      }
       PlanBuilder.makePlan(substraitContext, 
Lists.newArrayList(childCtx.root), outNames)
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to