You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "amassalha (via GitHub)" <gi...@apache.org> on 2023/10/15 05:28:50 UTC
[I] Support decompressing concatenated gzip members (stream) [arrow]
amassalha opened a new issue, #38271:
URL: https://github.com/apache/arrow/issues/38271
### Describe the enhancement requested
Curent gzip decompress is calling 'infalte' until getting 'Z_STREAM_END ' or error is returned, but zccording to gzip (zlib) documentation, this might be not enough:
" inflate() will not automatically decode concatenated gzip members. inflate() will return Z_STREAM_END at the end of the gzip member. The state would need to be reset to continue decoding a subsequent gzip member. This must be done if there is more data after a gzip member, in order for the decompression to be compliant with the gzip standard (RFC 1952)." (https://www.zlib.net/manual.html)
This PR is for supporting reading parquet files that contains more than 1 gzip member. (example file attahced)
[concatenated_gzip_members.zip](https://github.com/apache/arrow/files/12908697/concatenated_gzip_members.zip)
### Component(s)
C++, Parquet
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Support decompressing concatenated gzip members (stream) [arrow]
Posted by "mapleFU (via GitHub)" <gi...@apache.org>.
mapleFU closed issue #38271: Support decompressing concatenated gzip members (stream)
URL: https://github.com/apache/arrow/issues/38271
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org