gyfora commented on code in PR #6528:
URL: https://github.com/apache/iceberg/pull/6528#discussion_r1063232308
##########
flink/v1.16/flink/src/main/java/org/apache/iceberg/flink/sink/IcebergFilesCommitter.java:
##########
@@ -134,6 +136,7 @@ class IcebergFilesCommitter extends
AbstractStreamOperator<Void>
public void initializeState(StateInitializationContext context) throws
Exception {
super.initializeState(context);
this.flinkJobId =
getContainingTask().getEnvironment().getJobID().toString();
+ this.operatorUniqueId = getRuntimeContext().getOperatorUniqueID();
Review Comment:
`operatorUniqueId` is deterministaclly generated based on the uid of the
operator which is used already by Flink to assign the state to this operator.
This is competely correct.
--
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]