From 9a146eddf19ba8af0a9c9a96faa73aeba43a006c Mon Sep 17 00:00:00 2001 From: wforget <643348094@qq.com> Date: Thu, 5 Sep 2024 16:17:14 +0800 Subject: [PATCH] [GLUTEN-7130][CORE] Skip command execution when collect qe fallback summary --- .../scala/org/apache/spark/sql/execution/GlutenImplicits.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {