domenkozar commented on issue #10734:
URL: https://github.com/apache/arrow-rs/issues/10734#issuecomment-7386676718

   Casita reads WAL3 fragments through the Arrow Parquet reader. We have a 
tested local decoder patch and would like to move that protection upstream so 
WAL3 can use the published crate. [Casita's current 
draft](https://github.com/cachix/casita/pull/92) shows the downstream use case.
   
   Would an opt-in maximum decoded page size on the reader options fit here? 
WAL3 could set the limit from its supported fragment size. The reader would 
enforce it before allocating in both sequential reads and reads using an offset 
index. A test could read the same valid file with limits above and below its 
page size and check for a normal error at the lower limit.
   
   Codex helped draft this follow-up.
   


-- 
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]

Reply via email to