chl-wxp opened a new pull request, #11832:
URL: https://github.com/apache/seatunnel/pull/11832

    ### Purpose
   
     Close Parquet and ORC writers when `batch_size` triggers file rolling, 
preventing old writers and their buffers from being retained until the batch 
job finishes.
   
    Fixes #11830
   
     ### Changes
   
     - Close and release current writers before creating a new file part.
     - Flush pending ORC row batches during file rolling.
     - Add tests to verify rolled files are closed and readable immediately.
   
     ### Verification
   
     - `./mvnw spotless:apply`
     - `./mvnw -q -DskipTests verify`
     - Parquet and ORC writer unit tests


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