Skip to content

Commit

Permalink
fix(rust): Correct err message of check_map_output_len
Browse files Browse the repository at this point in the history
  • Loading branch information
reswqa committed Jan 19, 2024
1 parent 1d434cc commit 3e649f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/polars-lazy/src/physical_plan/expressions/apply.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ fn check_map_output_len(input_len: usize, output_len: usize, expr: &Expr) -> Pol
polars_ensure!(
input_len == output_len, expr = expr, InvalidOperation:
"output length of `map` ({}) must be equal to the input length ({}); \
consider using `apply` instead", input_len, output_len
consider using `apply` instead", output_len, input_len
);
Ok(())
}
Expand Down

0 comments on commit 3e649f9

Please sign in to comment.