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

Method OpenInputFile

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

Source from the content-addressed store, hash-verified

253 }
254
255 Result<std::shared_ptr<io::RandomAccessFile>> OpenInputFile(const std::string& path) {
256 ARROW_RETURN_NOT_OK(internal::AssertNoTrailingSlash(path));
257 std::shared_ptr<io::HdfsReadableFile> file;
258 RETURN_NOT_OK(client_->OpenReadable(path, io_context_, &file));
259 return file;
260 }
261
262 Result<std::shared_ptr<io::OutputStream>> OpenOutputStream(const std::string& path) {
263 bool append = false;

Callers

nothing calls this directly

Calls 2

AssertNoTrailingSlashFunction · 0.85
OpenReadableMethod · 0.45

Tested by

no test coverage detected