Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
Description
git.commit.id.abbrev=5cd36c5
Data Set contains records separated by ',':
{ "id" : 1 }, { "id" : 2 }
Query from Drill :
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)
We should improve the error message to iindicate that we should not use ',' to separate json records.