cloud-fan commented on code in PR #52213:
URL: https://github.com/apache/spark/pull/52213#discussion_r2354396336


##########
sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLDriver.scala:
##########
@@ -67,7 +66,7 @@ private[hive] class SparkSQLDriver(val sparkSession: 
SparkSession = SparkSQLEnv.
         new VariableSubstitution().substitute(command)
       }
       sparkSession.sparkContext.setJobDescription(substitutorCommand)
-      val execution = 
sparkSession.sessionState.executePlan(sparkSession.sql(command).logicalPlan)
+      val execution = sparkSession.sql(command).queryExecution

Review Comment:
   Yea, so it's more like a bug fix to make thriftserver to respect this 
config, but the config is off by default so thriftserver does not do shuffle 
cleanup by default.



-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to