Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zanmato1984 committed Oct 14, 2024
1 parent 846039d commit 2f2ae47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/arrow/compute/kernels/vector_placement_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -954,8 +954,8 @@ Result<Datum> ExecuteIfElseByPermute(const Expression& cond, const Expression& i
ARROW_ASSIGN_OR_RAISE(auto if_true_input_datum,
CallFunction("take", {input_rb, sel_if_true_datum}));

// 4. Get indices of "false"es form the mas as the selection vector - by first inverting
// the mask and then getting the non-zero's indices.
// 4. Get indices of "false"es from the mask as the selection vector - by first
// inverting the mask and then getting the non-zero's indices.
ARROW_ASSIGN_OR_RAISE(auto invert_cond_datum, CallFunction("invert", {cond_datum}));
ARROW_ASSIGN_OR_RAISE(auto sel_if_false_datum,
CallFunction("indices_nonzero", {invert_cond_datum}));
Expand Down

0 comments on commit 2f2ae47

Please sign in to comment.