Function polars::prelude::expand_paths_hive

source ยท
pub fn expand_paths_hive(
    paths: &[PathBuf],
    glob: bool,
    cloud_options: Option<&CloudOptions>,
    check_directory_level: bool,
) -> Result<(Arc<[PathBuf]>, usize), PolarsError>
Available on crate feature polars-io only.
Expand description

Recursively traverses directories and expands globs if glob is true. Returns the expanded paths and the index at which to start parsing hive partitions from the path.