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

Method OpenInputStream

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

Source from the content-addressed store, hash-verified

514 }
515
516 Result<std::shared_ptr<io::InputStream>> OpenInputStream(const std::string& path) {
517 ARROW_RETURN_NOT_OK(internal::AssertNoTrailingSlash(path));
518 std::shared_ptr<HdfsReadableFile> file;
519 RETURN_NOT_OK(OpenReadable(path, io_context_, &file));
520 return file;
521 }
522
523 Result<std::shared_ptr<io::RandomAccessFile>> OpenInputFile(const std::string& path) {
524 ARROW_RETURN_NOT_OK(internal::AssertNoTrailingSlash(path));

Callers

nothing calls this directly

Calls 1

AssertNoTrailingSlashFunction · 0.85

Tested by

no test coverage detected