aocsa commented on a change in pull request #11164:
URL: https://github.com/apache/arrow/pull/11164#discussion_r710123380



##########
File path: python/pyarrow/tests/test_compute.py
##########
@@ -1859,35 +1859,42 @@ def validate_select_k(select_k_indices, arr, order, 
stable_sort=False):
             assert actual == expected

Review comment:
       As I mentioned below, when k is greater than input length, k = 
input.length. Same thing happens when there are less non-null elements in that 
array k = first_null_index after PartitionNull. So k will not stay the same for 
these cases. 




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


Reply via email to