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
File "pyarrow/table.pxi", line 1409, in pyarrow.lib.Table.cast
ValueError: Target schema's field names are not matching the table's field names: ['c', 'a', 'b'], ['a', 'b', 'c']
Describe the bug
The
load_dataset
function expects columns in alphabetical order when loading json files.Similar bug was previously reported for csv in #623 and fixed in #684.
Steps to reproduce the bug
For a json file
j.json
,Running the following,
Expected results
A successful load.
Actual results
Environment info
datasets
version: 1.8.0The text was updated successfully, but these errors were encountered: