Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-5311

[C++] Return more specific invalid Status in Take kernel

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.14.0
    • C++

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              bkietz Ben Kietzman
              jorisvandenbossche Joris Van den Bossche
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m