You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Rahul Challapalli (JIRA)" <ji...@apache.org> on 2015/05/08 18:50:59 UTC

[jira] [Created] (DRILL-2992) Improve error message when user tries to access an index within a non-existent array

Rahul Challapalli created DRILL-2992:
----------------------------------------

             Summary: Improve error message when user tries to access an index within a non-existent array
                 Key: DRILL-2992
                 URL: https://issues.apache.org/jira/browse/DRILL-2992
             Project: Apache Drill
          Issue Type: Bug
          Components: Execution - Data Types
            Reporter: Rahul Challapalli
            Assignee: Daniel Barclay (Drill)


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
{code}
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)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)