Skip to content

FileIO parameter should be arrow::fs::FileSystem ? #307

@rip-nsk

Description

@rip-nsk

The ManifestWriter/ManifestListWriter API uses the std::shared_ptr<FileIO> parameter for the IO interface,
which actually should be an internal arrow::ArrowFileSystemFileIO (not publicly accessible).
It appears that only the fs() is actually utilized.

  auto io = internal::checked_pointer_cast<arrow::ArrowFileSystemFileIO>(options.io);
  ICEBERG_ARROW_ASSIGN_OR_RETURN(auto output, io->fs()->OpenOutputStream(options.path));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions