Hisoka-X commented on code in PR #8333:
URL: https://github.com/apache/seatunnel/pull/8333#discussion_r1891105637
##########
seatunnel-connectors-v2/connector-paimon/src/main/java/org/apache/seatunnel/connectors/seatunnel/paimon/sink/PaimonSinkWriter.java:
##########
@@ -182,7 +185,7 @@ public PaimonSinkWriter(
.flatMap(List::stream)
.collect(Collectors.toList());
log.info("Trying to recommit states {}", commitables);
- if (JobContextUtil.isBatchJob(jobContext)) {
+ if (JobContextUtil.isCheckpointNotEnabledInBatchMode(jobContext,
envConfig)) {
Review Comment:
why we should care checkpoint enabled when restore? If checkpoint not
enable, the restore will without any `commitables`.
--
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]