You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Amit Katti (JIRA)" <ji...@apache.org> on 2014/07/02 19:17:25 UTC

[jira] [Updated] (DRILL-1096) Drill query from sqlline hangs while reading an invalid Json file

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

Amit Katti updated DRILL-1096:
------------------------------

    Description: 
When I submit a query from sqlline which reads an invalid Json, it simply hangs. Eventually I have to kill the sqlline process.

Example Json File:
{ ["rownum":1,"name":"fred ovid"] }

{ ["rownum":2,"name":"bob brown"] }

Query: Select * from `invalid.json`;

Expected Behavior: Drill should throw and error message instead of hanging.

  was:
When I submit a query from sqlline which reads an invalid Json, it simply hangs. Eventually I have to kill the sqlline process.

Example Json File:
{ ["rownum":1,"name":"fred ovid"] }
{ ["rownum":2,"name":"bob brown"] }

Query: Select * from `invalid.json`;

Expected Behavior: Drill should throw and error message instead of hanging.


> Drill query from sqlline hangs while reading an invalid Json file
> -----------------------------------------------------------------
>
>                 Key: DRILL-1096
>                 URL: https://issues.apache.org/jira/browse/DRILL-1096
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - JSON
>         Environment: CentOS release 6.5
>            Reporter: Amit Katti
>
> When I submit a query from sqlline which reads an invalid Json, it simply hangs. Eventually I have to kill the sqlline process.
> Example Json File:
> { ["rownum":1,"name":"fred ovid"] }
> { ["rownum":2,"name":"bob brown"] }
> Query: Select * from `invalid.json`;
> Expected Behavior: Drill should throw and error message instead of hanging.



--
This message was sent by Atlassian JIRA
(v6.2#6252)