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


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/source/stats/FileStatsIndex.java:
##########
@@ -102,9 +103,11 @@ public String getIndexPartitionName() {
   public HoodieTableMetadata getMetadataTable() {
     // initialize the metadata table lazily
     if (this.metadataTable == null) {
-      this.metadataTable = HoodieTableMetadata.create(
+      HoodieHadoopStorage storage = new HoodieHadoopStorage(basePath, 
FlinkClientUtil.getHadoopConf());
+      HoodieTableMetaClient metaClient = 
HoodieTableMetaClient.builder().setBasePath(basePath).setConf(storage.getConf()).build();

Review Comment:
   @danny0405 while you are at it, can you check this for any side-effects



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