You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2015/05/05 16:18:02 UTC

[jira] [Updated] (DRILL-1243) Drill's error message not clear when it fails reading json files containing arrays of hetrogeneous types

     [ https://issues.apache.org/jira/browse/DRILL-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Nadeau updated DRILL-1243:
----------------------------------
    Fix Version/s:     (was: 1.0.0)
                   1.2.0

> Drill's error message not clear when it fails reading json files containing arrays of hetrogeneous types
> --------------------------------------------------------------------------------------------------------
>
>                 Key: DRILL-1243
>                 URL: https://issues.apache.org/jira/browse/DRILL-1243
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - JSON
>            Reporter: Rahul Challapalli
>            Priority: Minor
>             Fix For: 1.2.0
>
>
> git.commit.id.abbrev=98b208e
> Below is a simple json record which contains arrays holding different types of values
> {code}
> {"coordinates": [168.01,5]}
> {code}
> Query :
> {code}
> select * from `repeated_hetrogeneous_types.json`;
> Query failed: Screen received stop request sent. Needed to be in state INIT or IN_BIGINT but in mode IN_FLOAT8
> {code}
> When I tried adding a string to the above json array, the error message from sqlline was even wierder.
> Manually debugging this is challenging as we have to nail it down to the specific record which is failing



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