Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Jul 26, 2023
1 parent 0b32e93 commit 49774e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polars/polars-lazy/src/physical_plan/expressions/apply.rs
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ impl ApplyExpr {
};
// ensure the input of the function is only a `col(..)`
// if it does any arithmetic the code below is flawed
if !input.iter().all(|e| matches!(e, Expr::Column(_))) {
if !matches!(input[0], Expr::Column(_)) {
return Ok(true);
}

Expand Down

0 comments on commit 49774e9

Please sign in to comment.