jiangjiangtian commented on code in PR #10637:
URL:
https://github.com/apache/incubator-gluten/pull/10637#discussion_r2454226751
##########
backends-velox/src/main/scala/org/apache/gluten/execution/ColumnarPartialProjectExec.scala:
##########
@@ -50,7 +54,9 @@ import scala.collection.mutable.ListBuffer
* @param child
* child plan
*/
-case class ColumnarPartialProjectExec(projectList: Seq[NamedExpression],
child: SparkPlan)(
+case class ColumnarPartialProjectExec(
+ projectList: Seq[Expression],
+ child: SparkPlan,
replacedAlias: Seq[Alias])
Review Comment:
> The Alias is unique, with this change, the exprId is different
Sorry, I can't understand this. Do you mean that the `Alias`'s exprId is
different from the original exprId?
> the alias origins from projectList, the subquery should be found from it.
I get it. Thanks!
##########
backends-velox/src/main/scala/org/apache/gluten/execution/ColumnarPartialProjectExec.scala:
##########
@@ -50,7 +54,9 @@ import scala.collection.mutable.ListBuffer
* @param child
* child plan
*/
-case class ColumnarPartialProjectExec(projectList: Seq[NamedExpression],
child: SparkPlan)(
+case class ColumnarPartialProjectExec(
+ projectList: Seq[Expression],
+ child: SparkPlan,
replacedAlias: Seq[Alias])
Review Comment:
> The Alias is unique, with this change, the exprId is different
Sorry, I can't understand this. Do you mean that the `Alias`'s exprId is
different from the original exprId?
> the alias origins from projectList, the subquery should be found from it.
I get it. Thanks!
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]