MCPcopy Create free account
hub / github.com/apache/arrow / IsSupported

Method IsSupported

cpp/src/arrow/dataset/file_csv.cc:387–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 4

OpenReaderFunction · 0.70
statusMethod · 0.45
OpenMethod · 0.45
okMethod · 0.45

Tested by

no test coverage detected