You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/09/05 15:25:49 UTC

[GitHub] [hudi] YannByron commented on a diff in pull request #6476: [HUDI-3478] Support CDC for Spark in Hudi

YannByron commented on code in PR #6476:
URL: https://github.com/apache/hudi/pull/6476#discussion_r963007272


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/HoodieMergeHandle.java:
##########
@@ -102,6 +118,15 @@
   protected Map<String, HoodieRecord<T>> keyToNewRecords;
   protected Set<String> writtenRecordKeys;
   protected HoodieFileWriter<IndexedRecord> fileWriter;
+  // a flag that indicate whether allow the change data to write out a cdc log file.
+  protected boolean cdcEnabled = false;
+  protected String cdcSupplementalLoggingMode;
+  // writer for cdc data
+  protected HoodieLogFormat.Writer cdcWriter;
+  // the cdc data
+  protected Map<String, SerializableRecord> cdcData;
+  //

Review Comment:
   yep, miss it.



-- 
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-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org