| 371 | } |
| 372 | |
| 373 | Result<bool> CsvFileFormat::IsSupported(const FileSource& source) const { |
| 374 | RETURN_NOT_OK(source.Open().status()); |
| 375 | return OpenReader(source, *this).ok(); |
| 376 | } |
| 377 | |
| 378 | Result<std::shared_ptr<Schema>> CsvFileFormat::Inspect(const FileSource& source) const { |
| 379 | ARROW_ASSIGN_OR_RAISE(auto reader, OpenReader(source, *this)); |
nothing calls this directly
no test coverage detected