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

Method ParseKeys

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

Source from the content-addressed store, hash-verified

375}
376
377Result<std::vector<KeyValuePartitioning::Key>> DirectoryPartitioning::ParseKeys(
378 const std::string& path) const {
379 std::vector<std::string> segments =
380 fs::internal::SplitAbstractPath(fs::internal::GetAbstractPathParent(path).first);
381 return ParsePartitionSegments(segments);
382}
383
384bool DirectoryPartitioning::Equals(const Partitioning& other) const {
385 return type_name() == other.type_name() && KeyValuePartitioning::Equals(other);

Callers

nothing calls this directly

Calls 4

SplitAbstractPathFunction · 0.85
GetAbstractPathParentFunction · 0.85
StripNonPrefixFunction · 0.85
push_backMethod · 0.80

Tested by

no test coverage detected