MCPcopy Create free account
hub / github.com/apache/arrow / OpenInputFile

Method OpenInputFile

cpp/src/arrow/filesystem/hdfs.cc:523–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521 }
522
523 Result<std::shared_ptr<io::RandomAccessFile>> OpenInputFile(const std::string& path) {
524 ARROW_RETURN_NOT_OK(internal::AssertNoTrailingSlash(path));
525 std::shared_ptr<HdfsReadableFile> file;
526 RETURN_NOT_OK(OpenReadable(path, io_context_, &file));
527 return file;
528 }
529
530 Result<std::shared_ptr<io::OutputStream>> OpenOutputStream(const std::string& path) {
531 bool append = false;

Callers

nothing calls this directly

Calls 1

AssertNoTrailingSlashFunction · 0.85

Tested by

no test coverage detected