You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Ben Kietzman (Jira)" <ji...@apache.org> on 2019/10/04 15:50:00 UTC

[jira] [Resolved] (ARROW-6760) [C++] JSON: improve error message when column changed type

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

Ben Kietzman resolved ARROW-6760.
---------------------------------
    Fix Version/s: 0.15.0
       Resolution: Fixed

Issue resolved by pull request 5571
[https://github.com/apache/arrow/pull/5571]

> [C++] JSON: improve error message when column changed type
> ----------------------------------------------------------
>
>                 Key: ARROW-6760
>                 URL: https://issues.apache.org/jira/browse/ARROW-6760
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>            Reporter: harikrishnan
>            Assignee: Ben Kietzman
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.15.0
>
>         Attachments: dummy.jl
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> When a column accidentally changes type in a JSON file (which is not supported), it would be nice to get the column name that gives this problem in the error message.
> ---
> I am trying to parse a simple json file. While doing so, am getting the error  {{JSON parse error: A column changed from string to number}}
> {code}
> from pyarrow import json
> r = json.read_json('dummy.jl')
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)