pub fn materialize_projection(
with_columns: Option<&[PlSmallStr]>,
schema: &Schema<DataType>,
hive_partitions: Option<&[Series]>,
has_row_index: bool,
) -> Option<Vec<usize>>
Available on crate feature
polars-io
only.