HyukjinKwon commented on code in PR #41357:
URL: https://github.com/apache/spark/pull/41357#discussion_r1220726346
##########
python/pyspark/sql/connect/session.py:
##########
@@ -637,6 +638,34 @@ def addArtifacts(self, *path: str, pyfile: bool = False,
archive: bool = False)
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 (Directory is not supported yet).
Review Comment:
```suggestion
Path to a local file. Directories are not supported.
```
--
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]