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

Method Inspect

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

Source from the content-addressed store, hash-verified

376}
377
378Result<std::shared_ptr<Schema>> CsvFileFormat::Inspect(const FileSource& source) const {
379 ARROW_ASSIGN_OR_RAISE(auto reader, OpenReader(source, *this));
380 return reader->schema();
381}
382
383Result<RecordBatchGenerator> CsvFileFormat::ScanBatchesAsync(
384 const std::shared_ptr<ScanOptions>& scan_options,

Callers

nothing calls this directly

Calls 1

schemaMethod · 0.45

Tested by

no test coverage detected