yikf commented on code in PR #9272:
URL: https://github.com/apache/incubator-gluten/pull/9272#discussion_r2038732535


##########
gluten-substrait/src/main/scala/org/apache/spark/sql/execution/GlutenFallbackReporter.scala:
##########
@@ -40,7 +40,7 @@ case class GlutenFallbackReporter(glutenConf: GlutenConfig, 
spark: SparkSession)
       return plan
     }
     printFallbackReason(plan)
-    if (glutenConf.glutenUiEnabled) {
+    if (GlutenUIUtils.uiEnabled(spark.sparkContext)) {

Review Comment:
   the most accurate approach would be to check if the tabs in the webUI 
include GlutenSQLTab instance, but perhaps it's a bit heavy? I'm fine with both.



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