Kimahriman commented on code in PR #53747:
URL: https://github.com/apache/spark/pull/53747#discussion_r4469955608


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/RocksDBFileManager.scala:
##########
@@ -372,6 +372,7 @@ class RocksDBFileManager(
     val metadata = if (version == 0) {
       if (localDir.exists) Utils.deleteRecursively(localDir)
       Utils.createDirectory(localDir)
+      createDfsRootDirIfNotExist()

Review Comment:
   This seems to have introduced/revealed a bug with TransformWithState in 
non-streaming mode https://github.com/apache/spark/issues/60097. In 
non-streaming mode the files never get committed so there's no reason to create 
the directory, but the temporary directory also gets resolved incorrectly



-- 
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]

Reply via email to