jonvex commented on code in PR #7881:
URL: https://github.com/apache/hudi/pull/7881#discussion_r1106007724


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieWriteConfig.java:
##########
@@ -187,16 +178,18 @@ public class HoodieWriteConfig extends HoodieConfig {
 
   public static final ConfigProperty<String> TIMELINE_LAYOUT_VERSION_NUM = 
ConfigProperty
       .key("hoodie.timeline.layout.version")
-      .defaultValue(Integer.toString(TimelineLayoutVersion.VERSION_1))
+      .defaultValue(Integer.toString(TimelineLayoutVersion.CURR_VERSION))
+      
.withValidValues(Integer.toString(TimelineLayoutVersion.VERSION_0),Integer.toString(TimelineLayoutVersion.VERSION_1))
       .sinceVersion("0.5.1")
       .withDocumentation("Controls the layout of the timeline. Version 0 
relied on renames, Version 1 (default) models "
           + "the timeline as an immutable log relying only on atomic writes 
for object storage.");
 
   public static final ConfigProperty<HoodieFileFormat> BASE_FILE_FORMAT = 
ConfigProperty
       .key("hoodie.table.base.file.format")
-      .defaultValue(HoodieFileFormat.PARQUET)
-      .withAlternatives("hoodie.table.ro.file.format")
-      .withDocumentation("Base file format to store all the base file data.");
+      .defaultValue(getEnumDefault(HoodieFileFormat.class))
+      .withValidValues("PARQUET", "ORC", "HFILE")

Review Comment:
   ENUM had a non base file format so needed to manually put



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