From 1beff3371a71f0b4cb5ad69348b144b4f5c6107d Mon Sep 17 00:00:00 2001 From: Zhen Wang <643348094@qq.com> Date: Thu, 5 Sep 2024 18:38:56 +0800 Subject: [PATCH] [GLUTEN-7130][CORE] Skip command execution when collect qe fallback summary (#7132) --- .../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 53b1e861bb2bc..7f5f9215015f4 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 {