pyarrow.lib.ArrowInvalid: Parquet magic bytes not found in footer
#15
by
boydcheung
- opened
While downloading github-issues-filtered-structured
and git-commits-cleaned
, it breaks with the following error.
Downloading and preparing dataset parquet/bigcode--starcoderdata to /home/huggineface/datasets/bigcode___parquet/bigcode--starcoderdata-6c93a6ac13ded825/0.0.0/14a00e99c0d15a23649d0db8944380ac81082d4b021f398733dd84f3a6c569a7...
Downloading data files: 100%|ββββββββββ| 1/1 [00:00<00:00, 37.92it/s]
Extracting data files: 100%|ββββββββββ| 1/1 [00:00<00:00, 4.51it/s]
Traceback (most recent call last):
File "download_hf_datasets.py", line 41, in <module>
ds = datasets.load_dataset(args.name, data_dir=s)
File "/my/env/lib/python3.7/site-packages/datasets/load.py", line 1815, in load_dataset
storage_options=storage_options,
File "/my/env/lib/python3.7/site-packages/datasets/builder.py", line 913, in download_and_prepare
**download_and_prepare_kwargs,
File "/my/env/lib/python3.7/site-packages/datasets/builder.py", line 982, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File "/my/env/lib/python3.7/site-packages/datasets/packaged_modules/parquet/parquet.py", line 52, in _split_generators
self.info.features = datasets.Features.from_arrow_schema(pq.read_schema(f))
File "/my/env/lib/python3.7/site-packages/pyarrow/parquet/core.py", line 3668, in read_schema
decryption_properties=decryption_properties)
File "/my/env/lib/python3.7/site-packages/pyarrow/parquet/core.py", line 341, in __init__
thrift_container_size_limit=thrift_container_size_limit,
File "pyarrow/_parquet.pyx", line 1220, in pyarrow._parquet.ParquetReader.open
File "pyarrow/error.pxi", line 100, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: Parquet magic bytes not found in footer. Either the file is corrupted or this is not a parquet file.