Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
barak1412 committed Oct 13, 2024
1 parent 0b2ee80 commit 57b8f23
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/polars-plan/src/dsl/function_expr/array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ impl From<ArrayFunction> for SpecialEq<Arc<dyn ColumnsUdf>> {
#[cfg(feature = "array_count")]
CountMatches => map_as_slice!(count_matches),
Shift => map_as_slice!(shift),
Explode => unreachable!()
Explode => unreachable!(),
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion crates/polars-plan/src/plans/conversion/functions.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use arrow::legacy::error::PolarsResult;
use polars_utils::arena::{Arena, Node};
use polars_utils::{format_pl_smallstr};
use polars_utils::format_pl_smallstr;

use super::*;
use crate::dsl::{Expr, FunctionExpr};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub(super) fn optimize_functions(
let out = match function {
// arr.explode() -> explode
FunctionExpr::ArrayExpr(ArrayFunction::Explode) => {
let input_input =input[0].node();
let input_input = input[0].node();
Some(AExpr::Explode(input_input))
},
// is_null().any() -> null_count() > 0
Expand Down

0 comments on commit 57b8f23

Please sign in to comment.