geserdugarov commented on code in PR #12516:
URL: https://github.com/apache/hudi/pull/12516#discussion_r1891071761


##########
hudi-client/hudi-flink-client/src/main/java/org/apache/hudi/io/storage/row/HoodieRowDataCreateHandle.java:
##########
@@ -90,6 +91,7 @@ public HoodieRowDataCreateHandle(HoodieTable table, 
HoodieWriteConfig writeConfi
     this.fileId = fileId;
     this.newRecordLocation = new HoodieRecordLocation(instantTime, fileId);
     this.preserveHoodieMetadata = preserveHoodieMetadata;
+    this.skipMetadataWrite = skipMetadataWrite;

Review Comment:
   `preserveHoodieMetadata` actually used in the code as an indicator to get 
metadata from row data or generate it by calling corresponding methods. And it 
actually a little bit confusing naming then. I believe that values for 
`preserveHoodieMetadata` could be described by this schema:
   
![preserveHoodieMetadata](https://github.com/user-attachments/assets/55f65bf5-0fec-466d-8281-411ce767a1ca)
   Looks like `preserveHoodieMetadata` could be true only for clustering 
operator.



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