zhangyue19921010 commented on code in PR #13464:
URL: https://github.com/apache/hudi/pull/13464#discussion_r2157907014
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/configuration/OptionsResolver.java:
##########
@@ -480,6 +480,13 @@ public static boolean
isLazyFailedWritesCleanPolicy(Configuration conf) {
return
HoodieCleanConfig.FAILED_WRITES_CLEANER_POLICY.defaultValue().equalsIgnoreCase(HoodieFailedWritesCleaningPolicy.LAZY.name());
}
+ /**
+ * Returns whether the writers should use blocking instant time generation.
+ */
+ public static boolean isBlockingInstantGeneration(Configuration conf) {
+ return isCowTable(conf) && isUpsertOperation(conf);
Review Comment:
Why do we need to fall back to synchronous instant generation during upsert
operations on Cow tables?
--
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]