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

Use MultiGzDecoder to support multi-member gzip files #127

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

nirosys
Copy link
Contributor

@nirosys nirosys commented Jun 21, 2024

Issue #, if available: #126

Description of changes:

This PR changes the GzDecoder used for decompressing gzip'd inputs to a MultiGzDecoder in order to handle multi-member gzip files.

Pre-PR (using homebrew'd ion-cli):

glitch@147dda5e5395 ~/C/ion-cli> ion dump user-data.ion.gz | ion beta count
1213

Post-PR:

glitch@147dda5e5395 ~/C/ion-cli> cargo run --release dump user-data.ion.gz | ion beta count
    Finished release [optimized] target(s) in 0.19s
     Running `target/release/ion dump user-data.ion.gz`
2541
glitch@147dda5e5395 ~/C/ion-cli> 


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@nirosys nirosys merged commit 6e65bc1 into amazon-ion:master Jun 21, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants