manojpec commented on a change in pull request #4352:
URL: https://github.com/apache/hudi/pull/4352#discussion_r789089916



##########
File path: 
hudi-common/src/main/java/org/apache/hudi/metadata/HoodieTableMetadataUtil.java
##########
@@ -62,12 +76,37 @@
 
   private static final Logger LOG = 
LogManager.getLogger(HoodieTableMetadataUtil.class);
 
+  protected static final String PARTITION_NAME_FILES = "files";
+  protected static final String PARTITION_NAME_COLUMN_STATS = "column_stats";
+  protected static final String PARTITION_NAME_BLOOM_FILTERS = "bloom_filters";
+
+  /**
+   * Get the metadata partition type from the partition path.
+   *
+   * @param partitionPath - Partition path to get the type for
+   * @return Partition type for the path
+   */
+  public static Option<MetadataPartitionType> fromPartitionPath(final String 
partitionPath) {

Review comment:
       this is no more needed. removed.

##########
File path: 
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieWriteConfig.java
##########
@@ -1432,6 +1432,18 @@ public boolean useBloomIndexBucketizedChecking() {
     return getBoolean(HoodieIndexConfig.BLOOM_INDEX_BUCKETIZED_CHECKING);
   }
 
+  public boolean isMetaIndexBloomFilterEnabled() {
+    return isMetadataTableEnabled() && 
getMetadataConfig().isMetaIndexBloomFilterEnabled();
+  }
+
+  public boolean isMetaIndexColumnStatsForAllColumns() {
+    return isMetadataTableEnabled() && 
getMetadataConfig().isMetaIndexColumnStatsForAllColumns();
+  }
+
+  public boolean isMetaIndexBloomFilterBatchLoadEnabled() {

Review comment:
       fixed.




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