[ https://issues.apache.org/jira/browse/ARROW-5311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17662332#comment-17662332 ]
Rok Mihevc commented on ARROW-5311: ----------------------------------- This issue has been migrated to [issue #21774|https://github.com/apache/arrow/issues/21774] on GitHub. Please see the [migration documentation|https://github.com/apache/arrow/issues/14542] for further details. > [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: Ben Kietzman > Priority: Minor > Labels: pull-request-available > Fix For: 0.14.0 > > Time Spent: 1h 10m > Remaining Estimate: 0h > > 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 (v8.20.10#820010)