You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Ben Kietzman (Jira)" <ji...@apache.org> on 2020/10/07 20:19:00 UTC
[jira] [Created] (ARROW-10222) [C++] Add FileSystem::MakeUri() to
serialize file locations to URIs
Ben Kietzman created ARROW-10222:
------------------------------------
Summary: [C++] Add FileSystem::MakeUri() to serialize file locations to URIs
Key: ARROW-10222
URL: https://issues.apache.org/jira/browse/ARROW-10222
Project: Apache Arrow
Issue Type: Improvement
Components: C++
Affects Versions: 1.0.1
Reporter: Ben Kietzman
Assignee: Antoine Pitrou
Fix For: 3.0.0
Making the transform FS -> URI bijective would greatly simplify unambiguous location of files and serialization of filesystems. Something like:
{code}
Result<std::string> FileSystem::MakeUri(std::string path = "/");
{code}
Difficulties:
- SubTreeFileSystem::MakeUri("/") would probably return a URI referring to its base directory in the wrapped filesystem, which wouldn't roundtrip to a SubTreeFileSystem with FileSystemFromUri
- Not all of s3's parameters are supported in a URI
--
This message was sent by Atlassian Jira
(v8.3.4#803005)