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


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/HoodieCDCLogger.java:
##########
@@ -275,7 +275,20 @@ private CDCTransformer getTransformer() {
   }
 
   private GenericRecord removeCommitMetadata(GenericRecord record) {
-    return record == null ? null : 
HoodieAvroUtils.rewriteRecordWithNewSchema(record, dataSchema.toAvroSchema(), 
Collections.emptyMap());
+    return record == null ? null : getRecordWithoutMetadata(record);
+  }
+
+  private GenericRecord getRecordWithoutMetadata(GenericRecord record) {

Review Comment:
   fire an issue to trace this: https://github.com/apache/hudi/issues/17679



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