pub fn apply_scan_predicate_to_scan_ir(
scan_ir_node: Node,
ir_arena: &mut Arena<IR>,
expr_arena: &mut Arena<AExpr>,
) -> PolarsResult<()>Expand description
Filters the list of files in an IR::Scan based on the contained predicate. This is possible
if the predicate has components that refer to only the hive parts and there is no e.g.
row index / slice.
This also applies the projection onto the hive parts.
ยงPanics
Panics if scan_ir_node is not IR::Scan.