[
https://issues.apache.org/jira/browse/DRILL-1096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14069475#comment-14069475
]
Hanifi Gunes edited comment on DRILL-1096 at 7/21/14 11:01 PM:
---------------------------------------------------------------
Stop scan batch in case of a failure and notify client with the failure
context. All tests pass. Please review.
was (Author: hgunes):
Stop scan batch in case of a failure and notify client with the failure context.
> 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: Hanifi Gunes
> Attachments: DRILL-1096.1.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.2#6252)