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

Support compressed multiline JSON #13

Open
mikix opened this issue Feb 12, 2025 · 0 comments
Open

Support compressed multiline JSON #13

mikix opened this issue Feb 12, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@mikix
Copy link
Contributor

mikix commented Feb 12, 2025

NDJSON files can get pretty big - and they are extremely compressible.

The multi-line JSON methods should gain the ability to recognize .gz and .zip at least. Maybe .xz and .bz2 too (others?). And then pass them through Python's built-in de-compressors. I don't think Python has a generic layer for this already, so this might require a little abstraction code.

Some stats on the various linuxy compression approaches, for the curious. Seems like when taking time into account, gzip is "good enough".

@mikix mikix added the enhancement New feature or request label Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant