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

Method Inspect

cpp/src/arrow/dataset/file_orc.cc:152–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152Result<std::shared_ptr<Schema>> OrcFileFormat::Inspect(const FileSource& source) const {
153 ARROW_ASSIGN_OR_RAISE(auto reader, OpenORCReader(source));
154 return reader->ReadSchema();
155}
156
157Result<RecordBatchGenerator> OrcFileFormat::ScanBatchesAsync(
158 const std::shared_ptr<ScanOptions>& options,

Callers 7

TEST_FFunction · 0.45
AssertFinishWithPathsMethod · 0.45
TESTFunction · 0.45
TEST_PFunction · 0.45
AssertInspectErrorMethod · 0.45
EXPECT_OK_AND_ASSIGNFunction · 0.45

Calls 1

ReadSchemaMethod · 0.45

Tested by 6

TEST_FFunction · 0.36
AssertFinishWithPathsMethod · 0.36
TESTFunction · 0.36
TEST_PFunction · 0.36
AssertInspectErrorMethod · 0.36
EXPECT_OK_AND_ASSIGNFunction · 0.36