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

Method IsSupported

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

Source from the content-addressed store, hash-verified

371}
372
373Result<bool> CsvFileFormat::IsSupported(const FileSource& source) const {
374 RETURN_NOT_OK(source.Open().status());
375 return OpenReader(source, *this).ok();
376}
377
378Result<std::shared_ptr<Schema>> CsvFileFormat::Inspect(const FileSource& source) const {
379 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