Skip to content

Use MultiGzDecoder to support multi-member gzip files#127

Merged
nirosys merged 1 commit intoamazon-ion:masterfrom
nirosys:rgiliam/multigzdecoder
Jun 21, 2024
Merged

Use MultiGzDecoder to support multi-member gzip files#127
nirosys merged 1 commit intoamazon-ion:masterfrom
nirosys:rgiliam/multigzdecoder

Conversation

@nirosys
Copy link
Copy Markdown
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
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