mapleFU commented on issue #10448: URL: https://github.com/apache/arrow-rs/issues/10448#issuecomment-5113621351
> I am not very familiar with how the V2 datapages are written / buffered Generally speaking, in v58.0 if we enhance the compression, it would not matters, however, the PageStore patch introducing a "zero-copying", which making the Page buffer staging in a `Vec<Bytes>`, and making the buffer staging with `zstd`'s bound ( would is generally as large as original buffer ), occuping a large ratio before flushing the RowGroup. > Add a flag to the writer properties, something like `optimize_for_memory` I would dive into it, and so should v1 apply the same rule? Which gives control on both v1/v2 shrink_to_fit -- 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]
