You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
In this case, though, it seems the "length" field is first a string, then an integer. Arrow only accepts homogenous JSON, i.e. all objects in the same file must have the same schema.
harikrishnan:
Ah I see. Thanks for the quick reply @pitrou . Yes definitely listing the column name here with the error message will be a saver when it comes to debugging.
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
Reporter: harikrishnan
Assignee: Ben Kietzman / @bkietz
Original Issue Attachments:
PRs and other links:
Note: This issue was originally created as ARROW-6760. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: