viirya commented on a change in pull request #32361:
URL: https://github.com/apache/spark/pull/32361#discussion_r622590163
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/CheckpointFileManager.scala
##########
@@ -83,6 +83,9 @@ trait CheckpointFileManager {
/** Is the default file system this implementation is operating on the local
file system. */
def isLocal: Boolean
+
+ /** Returns a qualified path object for the file system's working directory.
*/
+ def makeQualified(path: Path): Path
Review comment:
The qualified `resolvedCheckpointLocation` is put into `WriteToStream`
and then used in `StreamExecution`. In the usage in `checkpointLocation`, it
looks like it should be a qualified path, instead of a relative one.
I think we should keep it returned a qualified path in
`ResolveWriteToStream`.
--
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]