| 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; |
nothing calls this directly
no test coverage detected