AlenkaF commented on code in PR #55759:
URL: https://github.com/apache/arrow/pull/55759#discussion_r4797330394
##########
python/pyarrow/compute.py:
##########
@@ -567,6 +567,27 @@ def fill_null(values, fill_value):
return call_function("coalesce", [values, fill_value])
+def _select_k_sort_keys(values, sort_keys, null_placements, order):
+ if isinstance(values, (pa.Array, pa.ChunkedArray)):
+ if sort_keys is not None:
+ raise ValueError(
+ "sort_keys is only supported for table-like input")
+ return [("dummy", order, "at_end")]
Review Comment:
Oh yes, great find @tadeja! Commit 82a97f218d48f5c2d7ac4ee4a3ee7f2bab003af8
should fix all the suggested comments.
--
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]