From 18f1f32612c328f4ab4a3b3e228a6ace2d7ea923 Mon Sep 17 00:00:00 2001 From: Rossi Sun Date: Wed, 11 Dec 2024 17:43:39 +0800 Subject: [PATCH] Update cpp/src/arrow/compute/kernels/vector_swizzle_test.cc Co-authored-by: Antoine Pitrou --- cpp/src/arrow/compute/kernels/vector_swizzle_test.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/cpp/src/arrow/compute/kernels/vector_swizzle_test.cc b/cpp/src/arrow/compute/kernels/vector_swizzle_test.cc index 4c1ec8e891647..8788ad2fd18e6 100644 --- a/cpp/src/arrow/compute/kernels/vector_swizzle_test.cc +++ b/cpp/src/arrow/compute/kernels/vector_swizzle_test.cc @@ -63,6 +63,7 @@ void AssertInversePermutation(const Datum& indices, int64_t max_index, const std::shared_ptr& 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 result_array; if (result.is_array()) {