wzx140 commented on code in PR #5627:
URL: https://github.com/apache/hudi/pull/5627#discussion_r903800675


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/HoodieWriteHandle.java:
##########
@@ -103,6 +105,7 @@ protected HoodieWriteHandle(HoodieWriteConfig config, 
String instantTime, String
     this.taskContextSupplier = taskContextSupplier;
     this.writeToken = makeWriteToken();
     schemaOnReadEnabled = 
!isNullOrEmpty(hoodieTable.getConfig().getInternalSchema());
+    hoodieMerge = ReflectionUtils.loadHoodieMerge(config.getMergeClass());

Review Comment:
   wulei has [fix 
it](https://github.com/apache/hudi/pull/5627/commits/073ca5cf638176264ef5a09a4ea083be6780d2b7).
 We hold HoodieMerge instance and only call reflection once. 



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