lokeshj1703 commented on code in PR #12888:
URL: https://github.com/apache/hudi/pull/12888#discussion_r1976366547


##########
hudi-common/src/main/java/org/apache/hudi/common/table/HoodieTableConfig.java:
##########
@@ -632,6 +632,7 @@ static boolean validateConfigVersion(ConfigProperty<?> 
configProperty, HoodieTab
     // validate that the table version is greater than or equal to the config 
version
     HoodieTableVersion firstVersion = 
HoodieTableVersion.fromReleaseVersion(configProperty.getSinceVersion().get());
     boolean valid = tableVersion.greaterThan(firstVersion) || 
tableVersion.equals(firstVersion);
+    valid = valid || 
configProperty.key().equals(KEY_GENERATOR_CLASS_NAME.key()) || 
configProperty.key().equals(KEY_GENERATOR_TYPE.key());

Review Comment:
   KEY_GENERATOR_CLASS_NAME  and KEY_GENERATOR_TYPE were added in table version 
8 but are also used in table version 6 code. Valid flag fails for them when 
table version is 6 so need to check for these keys.



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