pitrou commented on a change in pull request #11164:
URL: https://github.com/apache/arrow/pull/11164#discussion_r709901297
##########
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
arr = pa.array([1, 2, None, 0])
- for order in ["descending", "ascending"]:
- for k in [0, 2, 4]:
+ for k in [0, 2, 4]:
Review comment:
For the record, what happens if `k` is greater than the input length?
--
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]