Skip to content

Commit 84b95d0

Browse files
c
1 parent 6ec5d3a commit 84b95d0

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

crates/polars-plan/src/plans/aexpr/projection_height.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use polars_utils::collection::{Collection, CollectionWrap};
33
use polars_utils::scratch_vec::ScratchVec;
44

55
use crate::dsl::WindowMapping;
6-
use crate::plans::{AExpr, aexpr_traversal};
6+
use crate::plans::{AExpr, aexpr_property_pullup_traversal};
77

88
#[derive(Debug, Default, Clone, Copy, PartialEq, Eq)]
99
pub enum ExprProjectionHeight {
@@ -42,7 +42,7 @@ pub fn aexpr_projection_height_rec(
4242
stack: &mut ScratchVec<Node>,
4343
inputs_stack: &mut ScratchVec<ExprProjectionHeight>,
4444
) -> ExprProjectionHeight {
45-
aexpr_traversal(
45+
aexpr_property_pullup_traversal(
4646
ae_node,
4747
&mut expr_arena,
4848
stack.get(),

crates/polars-plan/src/plans/aexpr/traverse.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ impl NodeInputs {
604604
}
605605

606606
#[recursive::recursive]
607-
pub fn aexpr_traversal<PreVisit, PostVisit, State, ArenaT>(
607+
pub fn aexpr_property_pullup_traversal<PreVisit, PostVisit, State, ArenaT>(
608608
ae_node: Node,
609609
expr_arena: &mut ArenaT,
610610
stack: &mut Vec<Node>,
@@ -630,7 +630,7 @@ where
630630
let num_inputs = stack.len() - base_stack_len;
631631

632632
for i in base_stack_len..stack.len() {
633-
let state = aexpr_traversal(
633+
let state = aexpr_property_pullup_traversal(
634634
stack[i],
635635
expr_arena,
636636
stack,

crates/polars-plan/src/plans/optimizer/slice_pushdown_expr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ impl SlicePushDown {
251251
all_slice_ae_nodes_with_direct_col_input: &mut PlHashSet<Node>,
252252
maintain_errors: bool,
253253
) {
254-
aexpr_traversal(
254+
aexpr_property_pullup_traversal(
255255
current_ae_node,
256256
&mut expr_arena,
257257
self.ae_nodes_scratch.get(),

crates/polars-stream/src/physical_plan/lower_expr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ fn build_input_independent_node_with_ctx(
309309
fn is_length_preserving_ctx(expr_key: ExprNodeKey, ctx: &mut LowerExprContext) -> bool {
310310
let cache = RefCell::new(&mut ctx.cache.output_heights);
311311

312-
let height = aexpr_traversal(
312+
let height = aexpr_property_pullup_traversal(
313313
expr_key,
314314
&mut ctx.expr_arena,
315315
ctx.node_scratch.get(),

0 commit comments

Comments
 (0)