jinchengchenghh commented on code in PR #8952:
URL: https://github.com/apache/incubator-gluten/pull/8952#discussion_r2027376446


##########
gluten-substrait/src/main/scala/org/apache/gluten/execution/WholeStageTransformer.scala:
##########
@@ -118,8 +119,13 @@ trait ValidatablePlan extends GlutenPlan with LogLevelUtil 
{
     if (!validationResult.ok()) {
       TestStats.addFallBackClassName(this.getClass.toString)
     }
-    if (validationFailFast) validationResult
-    else ValidationResult.merge(schemaValidationResult, validationResult)
+    val result =
+      if (validationFailFast) validationResult
+      else ValidationResult.merge(schemaValidationResult, validationResult)
+    if (!result.ok()) {
+      logOnLevel(glutenConf.validationLogLevel, result.reason())

Review Comment:
   OK, I will draft a new Pr to only remain 1.



-- 
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]

Reply via email to