e-mhui commented on code in PR #7173: URL: https://github.com/apache/inlong/pull/7173#discussion_r1063151341
########## inlong-sort/sort-connectors/iceberg/src/main/java/org/apache/inlong/sort/iceberg/sink/multiple/IcebergSingleFileCommiter.java: ########## @@ -161,6 +161,10 @@ public void initializeState(FunctionInitializationContext context) throws Except this.checkpointsState = context.getOperatorStateStore().getListState(stateDescriptor); this.jobIdState = context.getOperatorStateStore().getListState(jobIdDescriptor); if (context.isRestored()) { + // New table doesn't have restored flink job id. + if (!jobIdState.get().iterator().hasNext()) { Review Comment: done. -- 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: commits-unsubscr...@inlong.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org