cshuo commented on code in PR #13240:
URL: https://github.com/apache/hudi/pull/13240#discussion_r2072403936
##########
hudi-client/hudi-flink-client/src/main/java/org/apache/hudi/io/FlinkMergeAndReplaceHandle.java:
##########
@@ -133,6 +135,17 @@ protected void makeOldAndNewFilePaths(String
partitionPath, String oldFileName,
}
}
+ @Override
+ protected HoodieRecord<T> updateOrPrependMetaFields(HoodieRecord<T> record,
Schema schema, Schema targetSchema, String fileName, Properties prop) {
+ if (schema.getField(HoodieRecord.RECORD_KEY_METADATA_FIELD) == null) {
Review Comment:
ok, I'll check it out.
--
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]