luffy-zh opened a new pull request, #1932: URL: https://github.com/apache/orc/pull/1932
What changes were proposed in this pull request? 1. Add the memory block size parameter to the writer option, which initializing the compressed input buffer block size 2. The compressed stream will retain the input buffer until the input buffer size reaches the compression block size, allowing the compressed stream to start with a minimal initial memory footprint. Why are the changes needed? This code segment distinguishes between the compression block size and the input buffer size to solve the [issue](https://issues.apache.org/jira/browse/ORC-1711). How was this patch tested? The UTs in TestCompression.cc and TestWriter.cc can cover this patch. -- 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]
