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

Benson Muite commented on ARROW-9843:
-------------------------------------

Between functionality should be similar to 
[Pandas|https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.between.html]
 should some kind of indicator be added similar to:

*inclusive*{“both”, “neither”, “left”, “right”}

The description above has only strict inequalities, and this is what is 
implemented in the [kernel added in pull request 
#8387|https://github.com/david1437/arrow/blob/ARROW-9843/cpp/src/arrow/compute/kernels/scalar_between.cc]

> [C++] Implement Between trinary kernel
> --------------------------------------
>
>                 Key: ARROW-9843
>                 URL: https://issues.apache.org/jira/browse/ARROW-9843
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++
>            Reporter: Wes McKinney
>            Assignee: Benson Muite
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> A specialized {{between(arr, left_bound, right_bound)}} kernel would avoid 
> multiple scans and AND operation



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to