zml1206 commented on code in PR #8273:
URL: https://github.com/apache/incubator-gluten/pull/8273#discussion_r1893380258
##########
backends-velox/src/main/scala/org/apache/gluten/extension/PartialProjectRule.scala:
##########
@@ -27,12 +27,20 @@ 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()) {
+ val validationResult = transformer.doValidate()
+ if (validationResult.ok()) {
+ val childValidationResult =
+
transformer.child.asInstanceOf[ColumnarPartialProjectExec].doValidate()
Review Comment:
OK, then I will roll back. This PR will only simplify the code, and the log
will be done later.
--
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]