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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14534881#comment-14534881 ] 

Rahul Challapalli commented on DRILL-1096:
------------------------------------------

Verified! Still need to add a negative testcase

> 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
>            Assignee: DrillCommitter
>             Fix For: 0.4.0
>
>         Attachments: DRILL-1096.1.patch.txt, DRILL-1096.2.patch.txt
>
>
> 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.
> git.commit.id=f492ca5174e6a815397b741c7c6f4aac4120a1fa



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