[ 
https://issues.apache.org/jira/browse/ARROW-772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16351591#comment-16351591
 ] 

Wes McKinney commented on ARROW-772:
------------------------------------

{{UnaryKernel}} is a convenience for functions of one argument. I am not sure 
what will be the right structure long term, but for the moment I believe it 
should be to pass the arguments as a {{Datum}} with the {{COLLECTION}} type 
(possibly to be renamed later to "SEQUENCE") 
https://github.com/apache/arrow/blob/master/cpp/src/arrow/compute/kernel.h#L53

> [C++] Implement take kernel functions
> -------------------------------------
>
>                 Key: ARROW-772
>                 URL: https://issues.apache.org/jira/browse/ARROW-772
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++
>            Reporter: Wes McKinney
>            Assignee: Jingyuan Wang
>            Priority: Major
>              Labels: Analytics
>             Fix For: 0.9.0
>
>
> Among other things, this can be used to convert from DictionaryArray back to 
> dense array. This is equivalent to {{ndarray.take}} in NumPy



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to