Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3F0BC11A24 for ; Mon, 21 Jul 2014 23:03:03 +0000 (UTC) Received: (qmail 23765 invoked by uid 500); 21 Jul 2014 23:03:03 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 23739 invoked by uid 500); 21 Jul 2014 23:03:03 -0000 Mailing-List: contact issues-help@drill.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.incubator.apache.org Delivered-To: mailing list issues@drill.incubator.apache.org Received: (qmail 23730 invoked by uid 99); 21 Jul 2014 23:03:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jul 2014 23:03:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 21 Jul 2014 23:03:04 +0000 Received: (qmail 22045 invoked by uid 99); 21 Jul 2014 23:02:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jul 2014 23:02:38 +0000 Date: Mon, 21 Jul 2014 23:02:38 +0000 (UTC) From: "Hanifi Gunes (JIRA)" To: issues@drill.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (DRILL-1096) Drill query from sqlline hangs while reading an invalid Json file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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)