polars_plan::plans::hive

Function hive_partitions_from_paths

Source
pub fn hive_partitions_from_paths(
    paths: &[PathBuf],
    hive_start_idx: usize,
    schema: Option<SchemaRef>,
    reader_schema: &Schema,
    try_parse_dates: bool,
) -> PolarsResult<Option<Arc<Vec<HivePartitions>>>>
Expand description

Note: Returned hive partitions are ordered by their position in the reader_schema

ยงSafety

hive_start_idx <= [min path length]