linliu-code commented on code in PR #13517:
URL: https://github.com/apache/hudi/pull/13517#discussion_r2225260452


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/HoodieWriteMergeHandle.java:
##########
@@ -292,7 +292,11 @@ private boolean writeRecord(HoodieRecord<T> newRecord,
                               Schema schema,
                               Properties prop,
                               boolean isDelete) {
-    Option recordMetadata = newRecord.getMetadata();
+    Option<Map<String, String>> recordMetadata = newRecord.getMetadata();
+    // Track event time metadata.
+    if (trackEventTimeWatermark && eventTimeFieldNameOpt.isPresent()) {
+      recordMetadata = appendEventTimeMetadata(newRecord, recordMetadata);

Review Comment:
   Right. After FG reader based merge handle is landed, we should add this 
change to there.



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