diff --git a/crates/polars-plan/src/plans/optimizer/slice_pushdown_lp.rs b/crates/polars-plan/src/plans/optimizer/slice_pushdown_lp.rs index d49e3aa9b456..5bd92ffbf97c 100644 --- a/crates/polars-plan/src/plans/optimizer/slice_pushdown_lp.rs +++ b/crates/polars-plan/src/plans/optimizer/slice_pushdown_lp.rs @@ -515,7 +515,7 @@ impl SlicePushDown { self.no_pushdown_restart_opt(lp, state, lp_arena, expr_arena) } } - (HStack {input, exprs, schema, options}, Some(_)) => { + (HStack {input, exprs, schema, options}, _) => { let (can_pushdown, can_pushdown_and_any_expr_has_column) = can_pushdown_slice_past_projections(&exprs, expr_arena, self.empty_nodes_scratch_mut()); if can_pushdown_and_any_expr_has_column || (