Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: jakevin <[email protected]>
  • Loading branch information
alamb and jackwener authored Nov 9, 2023
1 parent acbffa0 commit cafc404
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datafusion/physical-expr/src/array_expressions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,7 @@ array_removement_function!(
/// `from_array` and `to_array`. This function also handles nested arrays
/// ([`ListArray`] of [`ListArray`]s)
///
/// For example, whn called to replace a list array (where each element is a
/// For example, when called to replace a list array (where each element is a
/// list of int32s, the second and third argument are int32 arrays, and the
/// fourth argument is the number of occurrences to replace
///
Expand Down Expand Up @@ -1275,7 +1275,7 @@ fn general_replace(

list_array_row_inner
.iter()
// compare element by element the current row of list_array
// compare element by element the current row of list_array
.map(|row| row.map(|row| row.eq(&from_array_row_inner)))
.collect::<BooleanArray>()
}
Expand Down

0 comments on commit cafc404

Please sign in to comment.