pitrou commented on a change in pull request #8457:
URL: https://github.com/apache/arrow/pull/8457#discussion_r505674797



##########
File path: cpp/src/arrow/compute/kernels/vector_sort.cc
##########
@@ -302,19 +299,38 @@ void AddSortingKernels(VectorKernel base, VectorFunction* 
func) {
   }
 }
 
+FunctionDoc sort_indices_doc(
+    "Return the indices that would sort an array",
+    ("Compute an array of indices that define a non-stable sort\n"
+     "of the input array.  Null values are considered greater than any\n"
+     "other value and are therefore sorted at the end of the array."),
+    {"array"});
+
+FunctionDoc partition_nth_indices_doc(
+    "Return the indices that would partition an array around a pivot",
+    ("Compute an array of indices that define a non-stable partition\n"
+     "around the `N`th smallest element of the input array.\n"

Review comment:
       Will improve this, thank you.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to