mapleFU commented on PR #41546:
URL: https://github.com/apache/arrow/pull/41546#issuecomment-2096082903

   > Hmm... what is estimated exactly? 
   
   Currently encoder estimated "the values size after encoding but not 
compressed". When using DeltaLengthByteArray, we use a smaller 
`data_pagesize()`, however, when `Put(Array)` called, the page haven't reached 
the size limit and never being flushed. It causing the page size exceeds 
`INT32_MAX`
   
   
https://github.com/apache/arrow/blob/d10ebf055a393c94a693097db1dca08ff86745bd/cpp/src/parquet/column_writer.cc#L1561-L1563
   
   This is an "Estimated" size, so I'm not sure how I test it generally. I can 
testing it for each encoding


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