Skip to content

Commit

Permalink
Update cpp/src/arrow/compute/kernels/vector_swizzle_test.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine Pitrou <[email protected]>
  • Loading branch information
zanmato1984 and pitrou authored Dec 11, 2024
1 parent 9364e4c commit 18f1f32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cpp/src/arrow/compute/kernels/vector_swizzle_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ void AssertInversePermutation(const Datum& indices, int64_t max_index,
const std::shared_ptr<DataType>& output_type,
const Datum& expected, bool validity_must_be_null) {
ASSERT_OK_AND_ASSIGN(auto result, InversePermutation(indices, max_index, output_type));
ValidateOutput(result);
ASSERT_EQ(indices.kind(), result.kind());
std::shared_ptr<Array> result_array;
if (result.is_array()) {
Expand Down

0 comments on commit 18f1f32

Please sign in to comment.