HyukjinKwon commented on code in PR #41357:
URL: https://github.com/apache/spark/pull/41357#discussion_r1239306624
##########
python/pyspark/sql/connect/session.py:
##########
@@ -642,6 +643,34 @@ def addArtifacts(
addArtifact = addArtifacts
+ def copyFromLocalToFs(self, local_path: str, dest_path: str) -> None:
+ """
+ Copy file from local to cloud storage file system.
+ If the file already exits in destination path, old file is overwritten.
+
+ Parameters
+ ----------
+ local_path: str
+ Path to a local file. Directories are not supported.
+ The path can be either an absolute path or a relative path.
+
+ dest_path: str
+ The cloud storage path to the destination the file will
+ be copied to.
+ The path must be an an absolute path.
+
+ Notes
+ -----
+ This API is a developer API.
Review Comment:
Seems like we missed versionadded directive, @WeichenXu123
--
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]