rustyconover opened a new issue, #47094:
URL: https://github.com/apache/arrow/issues/47094

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   When attempting to call `compute.count_distinct` on an array of UUIDs this 
error is returned:
   
   ```
   pyarrow.lib.ArrowNotImplementedError: Function 'count_distinct' has no 
kernel matching input types (extension<arrow.uuid>)
   ```
   
   Reproduce with:
   
   
   ```python
   import uuid
   import pyarrow as pa
   import pyarrow.compute as pc
   
   table = pa.Table.from_arrays(
       [
           [uuid.uuid4().bytes, uuid.uuid4().bytes],
       ],
       schema=pa.schema(
           [
               pa.field("id", pa.uuid()),
           ],
       ),
   )
   
   unique = pc.count_distinct(table["id"])
   ```
   
   ### Component(s)
   
   Python


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to