EnricoMi commented on PR #74: URL: https://github.com/apache/parquet-testing/pull/74#issuecomment-2785435083
I think both files cover slightly different test cases, and both are valid. The empty datapage is not a valid snappy compression. Attempting to uncompress that causes the error in https://github.com/apache/arrow-rs/pull/7389. Hence, an extra condition is needed in the code to not attempt to uncompress the empty byte buffer, but to leave it as is. Any compression will "compress" zero bytes into multiple bytes. And the case that after compression the buffer is smaller or empty is a valid test case. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
