kevinjqliu commented on PR #16740:
URL: https://github.com/apache/iceberg/pull/16740#issuecomment-4733245102

   Thanks for the improvement @Baunsgaard, the changes looks good to me. 
   I did have one nit about making the changes easier to read. I think we can 
get rid of the locks and atomic integer. And possibly isolate the changes to 
the `writeRecords` function. 
   
   I had codex generate something similar if you would like to take a look, 
https://github.com/apache/iceberg/compare/main...kevinjqliu:iceberg:kevinjqliu/codex-cache-rewrite-data-files-input?expand=1
   
   Again, its mostly for readability and maintainability -- the effect is the 
same 😄 


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to