XiaoHongbo-Hope opened a new pull request, #8739:
URL: https://github.com/apache/paimon/pull/8739

   ### Purpose
   
   Files roll by size only today. On data-evolution tables with very wide rows 
(e.g.
   vector columns), a size-bounded file still holds too many rows, so a later
   `add-column` / `update-by-row-id` OOMs materializing that row range. Lance 
handles
   this with `max_rows_per_file`; this adds the same to Paimon.
   
   - New option `target-file-num-rows` (default `Long.MAX_VALUE`, disabled).
   - `RollingFileWriterImpl` rolls on row count **or** `target-file-size`, 
whichever first.
   - Wired through append and PK write paths.
   
   General option, default off — byte-only rolling is unchanged. Write-path 
only;
   compaction selection and pypaimon follow separately.
   
   ### Tests
   
   `RollingFileWriterTest#testRollingByRows`; `AppendOnlyWriterTest` /
   `KeyValueFileReadWriteTest` updated.
   


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