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


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/HoodieWriteMergeHandle.java:
##########
@@ -407,16 +407,16 @@ public void write(HoodieRecord<T> oldRecord) {
     }
   }
 
-  protected void writeToFile(HoodieKey key, HoodieRecord<T> record, Schema 
schema, Properties prop, boolean shouldPreserveRecordMetadata) throws 
IOException {
+  protected void writeToFile(HoodieKey key, HoodieRecord<T> record, Schema 
schema, Properties props, boolean shouldPreserveRecordMetadata) throws 
IOException {
     if (shouldPreserveRecordMetadata) {
       // NOTE: `FILENAME_METADATA_FIELD` has to be rewritten to correctly 
point to the
       //       file holding this record even in cases when overall metadata is 
preserved
       HoodieRecord populatedRecord = record.updateMetaField(schema, 
HoodieRecord.FILENAME_META_FIELD_ORD, newFilePath.getName());
-      fileWriter.write(key.getRecordKey(), populatedRecord, 
writeSchemaWithMetaFields);
+      fileWriter.write(key.getRecordKey(), populatedRecord, 
writeSchemaWithMetaFields, props);

Review Comment:
   is this a bug fix?



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