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