From 49774e965b9ac4d3aae11e4e5b2688a96330a302 Mon Sep 17 00:00:00 2001 From: ritchie Date: Wed, 26 Jul 2023 11:31:32 +0200 Subject: [PATCH] fix test --- polars/polars-lazy/src/physical_plan/expressions/apply.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polars/polars-lazy/src/physical_plan/expressions/apply.rs b/polars/polars-lazy/src/physical_plan/expressions/apply.rs index 7156b62a1121..a5a8fd79d00c 100644 --- a/polars/polars-lazy/src/physical_plan/expressions/apply.rs +++ b/polars/polars-lazy/src/physical_plan/expressions/apply.rs @@ -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); }