zml1206 commented on code in PR #8273:
URL: https://github.com/apache/incubator-gluten/pull/8273#discussion_r1891237082
##########
backends-velox/src/main/scala/org/apache/gluten/extension/PartialProjectRule.scala:
##########
@@ -27,12 +27,12 @@ case class PartialProjectRule(spark: SparkSession) extends
Rule[SparkPlan] {
plan.transformUp {
case plan: ProjectExec =>
val transformer = ColumnarPartialProjectExec.create(plan)
- if (transformer.doValidate().ok()) {
- if
(transformer.child.asInstanceOf[ColumnarPartialProjectExec].doValidate().ok()) {
- transformer
- } else plan
+ if (
+ transformer.doValidate().ok() &&
+
transformer.child.asInstanceOf[ColumnarPartialProjectExec].doValidate().ok()
+ ) {
+ transformer
Review Comment:
`CollapseProjectExecTransformer` used debug level, then unify it into
warning level?
--
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]