viirya commented on a change in pull request #32361:
URL: https://github.com/apache/spark/pull/32361#discussion_r622837353
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/ResolveWriteToStream.scala
##########
@@ -139,8 +139,8 @@ object ResolveWriteToStream extends Rule[LogicalPlan] with
SQLConfHelper {
.stripMargin)
}
}
- val checkpointDir = checkpointPath.makeQualified(fs.getUri,
fs.getWorkingDirectory)
- fs.mkdirs(checkpointDir)
+ val checkpointDir = fileManager.getQualifiedCheckpointPath()
+ fileManager.mkdirs(checkpointDir)
Review comment:
You mean adding both `createCheckpointDirectory` and
`getQualifiedCheckpointPath`? If we just use `createCheckpointDirectory` here,
`getQualifiedCheckpointPath` is not used at all.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]