Skip to content

Commit

Permalink
fix: Respect allow_threading in TernaryExpr (#18977)
Browse files Browse the repository at this point in the history
  • Loading branch information
orlp authored Sep 27, 2024
1 parent 89fd285 commit 3904774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/polars-expr/src/planner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ fn create_physical_expr_inner(
truthy,
falsy,
node_to_expr(expression, expr_arena),
lit_count < 2,
state.allow_threading && lit_count < 2,
is_scalar,
)))
},
Expand Down

0 comments on commit 3904774

Please sign in to comment.