You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Abhishek Girish (JIRA)" <ji...@apache.org> on 2019/02/28 06:27:00 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 ]

Abhishek Girish updated DRILL-1243:
-----------------------------------
    Fix Version/s: 1.16.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.16.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
(v7.6.3#76005)