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

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

    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

        1. dummy.jl
          2 kB
          harikrishnan

          Issue Links

            Activity

              People

              • Assignee:
                bkietz Ben Kietzman
                Reporter:
                harish1792 harikrishnan
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                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