cloud-fan commented on a change in pull request #32361:
URL: https://github.com/apache/spark/pull/32361#discussion_r622692757



##########
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:
       I think it makes more sense to have
   ```
   def getAbosolutePath(relativePath: Path)
   ```
   
   It's weird to have an API to qualify the input path by file system's working 
directory, not the checkpoint location.




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