bvaradar commented on code in PR #13216:
URL: https://github.com/apache/hudi/pull/13216#discussion_r2146346860


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/HoodieTable.java:
##########
@@ -1142,14 +1142,18 @@ private void 
clearMetadataTablePartitionsConfig(Option<MetadataPartitionType> pa
 
   public HoodieTableMetadata getMetadataTable() {
     if (metadata == null) {
-      HoodieMetadataConfig metadataConfig = HoodieMetadataConfig.newBuilder()
-          .fromProperties(config.getMetadataConfig().getProps())
-          .build();
-      metadata = HoodieTableMetadata.create(context, metaClient.getStorage(), 
metadataConfig, config.getBasePath());
+      metadata = refreshMetadataTable();
     }
     return metadata;
   }
 
+  public HoodieTableMetadata refreshMetadataTable() {

Review Comment:
   renamed to refreshAndGetTableMetadata



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