pitrou commented on code in PR #41904:
URL: https://github.com/apache/arrow/pull/41904#discussion_r1704148412
##########
python/pyarrow/_compute.pyx:
##########
@@ -473,7 +481,7 @@ cdef class MetaFunction(Function):
cdef _pack_compute_args(object values, vector[CDatum]* out):
for val in values:
- if isinstance(val, (list, np.ndarray)):
+ if isinstance(val, SUPPORTED_INPUT_ARR_TYPES):
val = lib.asarray(val)
Review Comment:
Unrelated to this PR, but at some point we should accept any
[ArrowArrayExportable](https://arrow.apache.org/docs/format/CDataInterface/PyCapsuleInterface.html#arrowarray-export)?
@jorisvandenbossche
--
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]