pvary commented on PR #14080:
URL: https://github.com/apache/iceberg/pull/14080#issuecomment-3352728845

   @hydrogenlee: I still feel that preventing the issue as soon as possible is 
the best way to solve the problem.
   The issue stems from using the `UnionListState` which we should keep as 
clean as possible. We should clean up immediately when we detect a problem. 
Also, we don't want to store unnecessary data in the state for any longer than 
necessary.
   
   If we clean-up only in the `initializeState`, it still solves the problem, 
and we don't need to scatter the clean-up code in multiple places.


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