danny0405 commented on code in PR #13580:
URL: https://github.com/apache/hudi/pull/13580#discussion_r2218132281


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/FileGroupReaderBasedMergeHandle.java:
##########
@@ -217,6 +269,28 @@ public void write() {
     }
   }
 
+  private List<BaseFileUpdateCallback<T>> createCallbacks() {
+    List<BaseFileUpdateCallback<T>> callbacks = new ArrayList<>();
+    // Handle CDC workflow.
+    if (cdcLogger.isPresent()) {
+      callbacks.add(new CDCCallback<>(cdcLogger.get(), readerContext));
+    }
+    // Stream secondary index stats.
+    if (isSecondaryIndexStatsStreamingWritesEnabled || 
writeStatus.isTrackingSuccessfulWrites()) {

Review Comment:
   I didn't get this part `|| writeStatus.isTrackingSuccessfulWrites()`



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

Reply via email to