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

Method Inspect

cpp/src/arrow/dataset/file_json.cc:374–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372}
373
374Result<std::shared_ptr<Schema>> JsonFileFormat::Inspect(const FileSource& source) const {
375 ARROW_ASSIGN_OR_RAISE(auto reader, OpenReader(source, *this));
376 return reader->schema();
377}
378
379Result<RecordBatchGenerator> JsonFileFormat::ScanBatchesAsync(
380 const std::shared_ptr<ScanOptions>& scan_options,

Callers

nothing calls this directly

Calls 1

schemaMethod · 0.45

Tested by

no test coverage detected