Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue reading back an item with metadata.json but no "_metadata" #62

Open
sdementen opened this issue Jun 9, 2022 · 0 comments
Open

Comments

@sdementen
Copy link

If I read back an item with no _metadata files but a metadata.json, I end up with the error below when fastparquet attemps to read the metadata.json as a parquet file.

File ".../fastparquet/api.py", line 121, in _parse_header
 f.seek(-(head_size+8), 2)
 OSError: [Errno 22] Invalid argument

I need to add write_metadata_file=True to my collection.write calls to ensure I always have a _metadata file created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant