Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2992

Improve error message when user tries to access an index within a non-existent array

    XMLWordPrintableJSON

Details

    Description

      git.commit.id.abbrev=8c706e6

      The below query tries to access an index within a non-existent array. The below error message should be improved. It is a system error instead of a user error

      select missing_array[1] from data;
      Error: SYSTEM ERROR: You tried to read a [RepeatedInt] type when you are using a field reader of type [NullableIntReaderImpl].
      
      Fragment 0:0
      
      [Error Id: 05a79a85-7ec4-47a5-83cc-8187f7e98b79 on qa-node190.qa.lab:31010] (state=,code=0)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            rkins Rahul Kumar Challapalli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: