cloud-fan commented on code in PR #52606:
URL: https://github.com/apache/spark/pull/52606#discussion_r2500589171
##########
sql/core/src/main/scala/org/apache/spark/sql/classic/Dataset.scala:
##########
@@ -1598,7 +1598,12 @@ class Dataset[T] private[sql](
// Represents the `QueryExecution` used to produce the content of the
Dataset as an `RDD`.
@transient private lazy val rddQueryExecution: QueryExecution = {
val deserialized = CatalystSerde.deserialize[T](logicalPlan)
- sparkSession.sessionState.executePlan(deserialized)
+ new QueryExecution(
+ sparkSession,
+ deserialized,
+ mode = CommandExecutionMode.ALL,
+ shuffleCleanupMode = DoNotCleanup
Review Comment:
I don't think users should care about it. When they use RDD APIs, there is
no query concept anymore and it's never safe to clean up shuffle files.
--
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]