Joris Van den Bossche created ARROW-5311:
--------------------------------------------

             Summary: [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
             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)

Reply via email to