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


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/HoodieMergeHandle.java:
##########
@@ -452,6 +461,58 @@ protected HoodieRecord<T> updateFileName(HoodieRecord<T> 
record, Schema schema,
     return record.prependMetaFields(schema, targetSchema, metadataValues, 
prop);
   }
 
+  private void trackMetadataIndexStats(Option<HoodieKey> hoodieKeyOpt, 
Option<HoodieRecord> combinedRecordOpt, Option<HoodieRecord<T>> oldRecordOpt, 
boolean isDelete) {

Review Comment:
   > Also we are reusing a lot of instance variables from the handle class 
itself
   
   what are they, just make the utility method static if you want and pass them 
around.
   
   > so it would be better to place it in the handle class IMO
   
   -1, I don't think so.



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