drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sudheesh Katkam (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-1245) Drill should pinpoint to the "Problem Record" when it fails to parse a json file
Date Fri, 13 Mar 2015 21:24:38 GMT

     [ https://issues.apache.org/jira/browse/DRILL-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sudheesh Katkam updated DRILL-1245:
-----------------------------------
    Assignee: Deneche A. Hakim  (was: Sudheesh Katkam)

> Drill should pinpoint to the "Problem Record" when it fails to parse a json file
> --------------------------------------------------------------------------------
>
>                 Key: DRILL-1245
>                 URL: https://issues.apache.org/jira/browse/DRILL-1245
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - JSON
>            Reporter: Rahul Challapalli
>            Assignee: Deneche A. Hakim
>             Fix For: 0.8.0
>
>         Attachments: DRILL-1245.1.patch.txt
>
>
> git.commit.id.abbrev=98b208e
> Data :
> {code}
> {"name":"name1", "id":1}
> {"name":"name2", "id":2}
> {"name":"name3", "id":3}
> {"name":"name4", "id":04}
> {"name":"name5", "id":5}
> {code}
> Query :
> {code}
>  select * from cp.`file.json`;
> Query failed: Screen received stop request sent. Invalid numeric value: Leading zeroes
not allowed
>  at [Source: java.io.BufferedReader@202fbdb4; line: 1, column: 24] [c11a17bd-1a3a-4eed-a848-6d79225399d3]
> Error: exception while executing query: Failure while trying to get next result batch.
(state=,code=0)
> {code}
> The msg should point to the exact record which is causing the problem as it will be hard
looking into the data and finding out the problem record.



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

Mime
View raw message