Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-6760

[C++] JSON: improve error message when column changed type

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Flags:
      Important

      Description

      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

      
      from pyarrow import json
      r = json.read_json('dummy.jl')
      
      

       

        Attachments

          Activity

            People

            • Assignee:
              bkietz Ben Kietzman
              Reporter:
              harish1792 harikrishnan

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 20m
                1h 20m

                  Issue deployment