Rahul Challapalli created DRILL-2817: ----------------------------------------
Summary: Drill should throw a more meaningful error message when we have json records separated by ',' in a file Key: DRILL-2817 URL: https://issues.apache.org/jira/browse/DRILL-2817 Project: Apache Drill Issue Type: Bug Components: Storage - JSON Reporter: Rahul Challapalli Assignee: Steven Phillips git.commit.id.abbrev=5cd36c5 Data Set contains records separated by ',': {code} { "id" : 1 }, { "id" : 2 } {code} Query from Drill : {code} select * from `temp.json`; Query failed: DATA_READ ERROR: Error parsing JSON. - Unexpected character (',' (code 44)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') Filename /drill/testdata/complex/json/temp.json Record 2 Column 3 Fragment 0:0 [9803ff81-7329-4e13-ae7d-b1004502384f on qa-node191.qa.lab:31010] Error: exception while executing query: Failure while executing query. (state=,code=0) {code} We should improve the error message to iindicate that we should not use ',' to separate json records. -- This message was sent by Atlassian JIRA (v6.3.4#6332)