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

Jingyuan Wang commented on ARROW-772:
-------------------------------------

One question popped up after I started to implement the basic support of signed 
integers. I was mostly following the only-two existing cast and hash kernels. 
Take kernel would need to take some type of indices, either single integer or 
array of integers. I am wondering, should the kernel still be an UnaryKernel or 
the indices should be considered as a second input?

> [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