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

Writing Parquet file with a Dictionary array with Compression enabled create invalid files #65

Closed
Stilgar84 opened this issue Oct 21, 2021 · 3 comments

Comments

@Stilgar84
Copy link

Hi,

I am using arrows2 to create a simple record batch which contains one Dictionary array. when writing to parquet with Snappy or gzip, the output cannot be read back with pyarrows. If I remove either the compression or the dictionary, there is no problem.

pyarrows errors:

  • Corrupt snappy compressed data
  • GZipCodec failed: incorrect header check
@jorgecarleitao
Copy link
Owner

Hey! Thanks for your interest. :) I think it is solved by jorgecarleitao/arrow2#523 . Could you try the latest main from arrow2?

@Stilgar84
Copy link
Author

Thanks, that fixed it. I checked the opened issue, but not the closed ones :)

@jorgecarleitao
Copy link
Owner

btw, I keep track of performance benchmarks here and here. If you find something that does not fit the general numbers, please let us know: always looking for edge cases and the like ^_^

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

No branches or pull requests

2 participants