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

Method GetOrInferSchema

cpp/src/arrow/dataset/partition.cc:862–868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

860}
861
862Result<std::shared_ptr<Schema>> PartitioningOrFactory::GetOrInferSchema(
863 const std::vector<std::string>& paths) {
864 if (auto part = partitioning()) {
865 return part->schema();
866 }
867 return factory()->Inspect(paths);
868}
869
870} // namespace dataset
871} // namespace arrow

Callers

nothing calls this directly

Calls 4

partitioningFunction · 0.85
factoryFunction · 0.85
schemaMethod · 0.45
InspectMethod · 0.45

Tested by

no test coverage detected