[
https://issues.apache.org/jira/browse/ARROW-5311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Kietzman reassigned ARROW-5311:
----------------------------------------
Assignee: Benjamin Kietzman
> [C++] Return more specific invalid Status in Take kernel
> --------------------------------------------------------
>
> Key: ARROW-5311
> URL: https://issues.apache.org/jira/browse/ARROW-5311
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Joris Van den Bossche
> Assignee: Benjamin Kietzman
> Priority: Minor
> Fix For: 0.14.0
>
>
> Currently the {{Take}} kernel returns generic Invalid Status for certain
> cases, that could use more specific error:
> - indices of wrong type (eg floats) -> TypeError instead of Invalid?
> - out of bounds index -> new IndexError ?
> From review in https://github.com/apache/arrow/pull/4281
> cc [~bkietz]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)