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

Method Inspect

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

Source from the content-addressed store, hash-verified

584 std::string type_name() const override { return "directory"; }
585
586 Result<std::shared_ptr<Schema>> Inspect(
587 const std::vector<std::string>& paths) override {
588 for (auto path : paths) {
589 std::vector<std::string> segments;
590 segments = fs::internal::SplitAbstractPath(path);
591 RETURN_NOT_OK(InspectPartitionSegments(segments, field_names_));
592 }
593 return DoInspect();
594 }
595
596 Result<std::shared_ptr<Partitioning>> Finish(
597 const std::shared_ptr<Schema>& schema) const override {

Callers

nothing calls this directly

Calls 1

SplitAbstractPathFunction · 0.85

Tested by

no test coverage detected