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