Guosmilesmile opened a new pull request, #13086:
URL: https://github.com/apache/iceberg/pull/13086

   Now the `startTime` in `TaskResultAggregator` is a transient `Long` that is 
initialized when the object is created, not in the `open` method. When the job 
recovers from a failure, it becomes null and causes a NullPointerException 
(NPE) when `processWatermark` is call before `processElement1` constructing the 
required `long` for `TaskResult`.
   
   This PR aims to change the initialization of `startTime` to the `open` 
method. If `startTime` is 0, the `TaskResult` will not be propagated 
downstream; instead, it will rely on the advancement of the watermark to reach 
downstream operators.
   


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