Skip to main content

hive_segments_for_relative_parent

Function hive_segments_for_relative_parent 

Source
pub fn hive_segments_for_relative_parent(
    relative_parent: &Path,
) -> Option<Vec<PartitionSegment>>
Expand description

Parse every directory component of relative_parent as hive segments.

relative_parent should be the path of the parent directory relative to the partition root, or empty if the file sits directly under the root.

Returns None if any component is not a valid key=value segment.