You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/09/03 14:15:21 UTC

[GitHub] [arrow] bkietz commented on a change in pull request #8101: ARROW-9868: [C++][R] Provide CopyFiles for copying files between FileSystems

bkietz commented on a change in pull request #8101:
URL: https://github.com/apache/arrow/pull/8101#discussion_r483011163



##########
File path: cpp/src/arrow/filesystem/filesystem.h
##########
@@ -387,6 +387,14 @@ Result<std::shared_ptr<FileSystem>> FileSystemFromUriOrPath(
 
 /// @}
 
+/// \brief Copy files from one FileSystem to another
+ARROW_EXPORT
+Status CopyFiles(const std::shared_ptr<FileSystem>& src_fs,

Review comment:
       Would you then want the signature to be `Status CopyFiles(const std::vector<FileLocator>& sources, const std::vector<FileLocator>& destinations, ...)`?
   
   https://issues.apache.org/jira/browse/ARROW-9909




----------------------------------------------------------------
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:
users@infra.apache.org