pitrou commented on a change in pull request #11255:
URL: https://github.com/apache/arrow/pull/11255#discussion_r717548233
##########
File path: cpp/src/arrow/compute/kernels/vector_sort_test.cc
##########
@@ -675,6 +687,15 @@ TYPED_TEST(TestArraySortIndicesForDecimal,
DecimalSortTestTypes) {
"[1, 5, 3, 0, 2, 4]");
}
+TEST(TestArraySortIndices, Null) {
+ for (const auto null_placement : AllNullPlacements()) {
+ for (const auto order : AllOrders()) {
+ AssertSortIndices(null(), "[null, null, null, null]", order,
null_placement,
+ "[0, 1, 2, 3]");
+ }
+ }
+}
+
Review comment:
Can you also add tests for chunked array, record batch and table sorting?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]