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
Describe the bug, including details regarding any error messages, version, and platform.
pyarrow version: 14.0.2
pajson.read_json("indent.json")
File "pyarrow/_json.pyx", line 308, in pyarrow._json.read_json
File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: JSON parse error: Column() changed from object to string in row 0
import pyarrow.json as pajson
pajson.read_json("indent.json")
when i write indent.json, i use json.dump(raw_data, fp, ensure_ascii=False, indent=4)
and then i use pajson.read_json, that bug will be report, i wonder know how to fix it.
here is my wrong json. wrong.json
Component(s)
Python
The text was updated successfully, but these errors were encountered:
Whether objects may be printed across multiple lines (for example pretty printed). If false, input must end with an empty line.
kou
changed the title
[Python]pyarrow.json.read_json when read indent json file with report error
[Python] pyarrow.json.read_json when read indent json file with report error
Apr 10, 2024
Describe the bug, including details regarding any error messages, version, and platform.
pyarrow version: 14.0.2
when i write indent.json, i use json.dump(raw_data, fp, ensure_ascii=False, indent=4)
and then i use pajson.read_json, that bug will be report, i wonder know how to fix it.
here is my wrong json.
wrong.json
Component(s)
Python
The text was updated successfully, but these errors were encountered: