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

Micah Kornfield commented on ARROW-1560:
----------------------------------------

Is the intended output an array of the smallest numeric type capable of holding 
the index (or some fixed size)?

> [C++] Kernel implementations for "match" function
> -------------------------------------------------
>
>                 Key: ARROW-1560
>                 URL: https://issues.apache.org/jira/browse/ARROW-1560
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++
>            Reporter: Wes McKinney
>            Priority: Major
>              Labels: Analytics
>             Fix For: 0.13.0
>
>
> Match computes a position index array from an array values into a set of 
> categories
> {code}
> match(['a', 'b', 'a', null, 'b', 'a', 'b'], ['b', 'a'])
> return [1, 0, 1, null, 0, 1, 0]
> {code}



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

Reply via email to