| 385 | } |
| 386 | |
| 387 | Result<bool> CsvFileFormat::IsSupported(const FileSource& source) const { |
| 388 | RETURN_NOT_OK(source.Open().status()); |
| 389 | return OpenReader(source, *this).ok(); |
| 390 | } |
| 391 | |
| 392 | Result<std::shared_ptr<Schema>> CsvFileFormat::Inspect(const FileSource& source) const { |
| 393 | ARROW_ASSIGN_OR_RAISE(auto reader, OpenReader(source, *this)); |
nothing calls this directly
no test coverage detected