prashantwason commented on a change in pull request #2064:
URL: https://github.com/apache/hudi/pull/2064#discussion_r491312887



##########
File path: 
hudi-client/src/main/java/org/apache/hudi/config/HoodieWriteConfig.java
##########
@@ -755,6 +769,29 @@ public int getBootstrapParallelism() {
     return 
Integer.parseInt(props.getProperty(HoodieBootstrapConfig.BOOTSTRAP_PARALLELISM));
   }
 
+  /**
+   * File listing metadata configs.
+   */
+  public boolean useFileListingMetadata() {
+    return Boolean.parseBoolean(props.getProperty(USE_FILE_LISTING_METADATA));
+  }
+
+  public boolean getFileListingMetadataVerify() {
+    return 
Boolean.parseBoolean(props.getProperty(FILE_LISTING_METADATA_VERIFY));
+  }
+
+  public Option<HoodieCompactionConfig> getMetadataCompactionConfig() throws 
IOException {
+    String serializedCompactionConfig = 
props.getProperty(HOODIE_METADATA_COMPACTION_CONFIG);
+    if (serializedCompactionConfig == null) {
+      return Option.empty();

Review comment:
       Created a default here.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to