diff --git a/gluten-substrait/src/main/scala/org/apache/spark/sql/execution/GlutenImplicits.scala b/gluten-substrait/src/main/scala/org/apache/spark/sql/execution/GlutenImplicits.scala index 53b1e861bb2b..7f5f9215015f 100644 --- a/gluten-substrait/src/main/scala/org/apache/spark/sql/execution/GlutenImplicits.scala +++ b/gluten-substrait/src/main/scala/org/apache/spark/sql/execution/GlutenImplicits.scala @@ -180,7 +180,7 @@ object GlutenImplicits { withSQLConf(SQLConf.ADAPTIVE_EXECUTION_ENABLED.key -> "false") { // AQE is not materialized, so the columnar rules are not applied. // For this case, We apply columnar rules manually with disable AQE. - val qe = spark.sessionState.executePlan(logicalPlan) + val qe = spark.sessionState.executePlan(logicalPlan, CommandExecutionMode.SKIP) processPlan(qe.executedPlan, concat.append, collectFallbackFunc) } } else {