yihua commented on code in PR #11266:
URL: https://github.com/apache/hudi/pull/11266#discussion_r1614730840
##########
hudi-common/src/main/java/org/apache/hudi/common/table/HoodieTableMetaClient.java:
##########
@@ -244,7 +244,7 @@ public void
updateFunctionalIndexMetadata(HoodieFunctionalIndexMetadata newFunct
public static HoodieTableMetaClient reload(HoodieTableMetaClient
oldMetaClient) {
return HoodieTableMetaClient.builder()
- .setConf(oldMetaClient.storageConf.newInstance())
+ .setStorage(oldMetaClient.getStorage())
Review Comment:
Given this is reloading, there is no real necessity to make a copy of the
conf or storage.
--
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]