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

Method InspectSchemas

cpp/src/arrow/dataset/discovery.cc:95–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95Result<std::vector<std::shared_ptr<Schema>>> UnionDatasetFactory::InspectSchemas(
96 InspectOptions options) {
97 std::vector<std::shared_ptr<Schema>> schemas;
98
99 for (const auto& child_factory : factories_) {
100 ARROW_ASSIGN_OR_RAISE(auto child_schemas, child_factory->InspectSchemas(options));
101 ARROW_ASSIGN_OR_RAISE(auto child_schema, UnifySchemas(child_schemas));
102 schemas.emplace_back(child_schema);
103 }
104
105 return schemas;
106}
107
108Result<std::shared_ptr<Dataset>> UnionDatasetFactory::Finish(FinishOptions options) {
109 std::vector<std::shared_ptr<Dataset>> children;

Callers

nothing calls this directly

Calls 8

emplace_backMethod · 0.80
push_backMethod · 0.80
MoveValueUnsafeMethod · 0.80
InspectMethod · 0.45
okMethod · 0.45
statusMethod · 0.45
pathMethod · 0.45
type_nameMethod · 0.45

Tested by

no test coverage detected