Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-10222

[C++] Add FileSystem::MakeUri() to serialize file locations to URIs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.0.1
    • None
    • C++
    • None

    Description

      Making the transform FS -> URI bijective would greatly simplify unambiguous location of files and serialization of filesystems. Something like:

      Result<std::string> FileSystem::MakeUri(std::string path = "/");
      

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            bkietz Ben Kietzman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: