wForget commented on code in PR #13824:
URL: https://github.com/apache/gluten/pull/13824#discussion_r4734529353
##########
gluten-substrait/src/main/scala/org/apache/gluten/execution/BasicPhysicalOperatorTransformer.scala:
##########
@@ -240,7 +240,9 @@ case class ColumnarUnionExec(children: Seq[SparkPlan],
partitioning: Partitionin
extends ValidatablePlan {
require(children.nonEmpty, "ColumnarUnionExec requires at least one child.")
children.foreach {
- case w: WholeStageTransformer =>
+ // AQE can copy this union with unresolved attributes during
canonicalization.
+ // Only compute its output for backends that require the merged schema.
+ case w: WholeStageTransformer if
BackendsApiManager.getSettings.needOutputSchemaForPlan() =>
Review Comment:
Thanks. I have already excluded the newly added test cases from the
ClickHouse test suites; I have no intention of investigating why ClickHouse
backend requires `setOutputSchemaForPlan`.
--
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]