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 2014/08/02 01:49:39 UTC

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

Rahul Challapalli created DRILL-1243:
----------------------------------------

             Summary: 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


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.2#6252)