vinothchandar commented on a change in pull request #1009: [HUDI-308] Avoid
Renames for tracking state transitions of all actions on dataset
URL: https://github.com/apache/incubator-hudi/pull/1009#discussion_r348047816
##########
File path:
hudi-common/src/main/java/org/apache/hudi/common/table/HoodieTableConfig.java
##########
@@ -125,6 +133,13 @@ public HoodieTableType getTableType() {
return DEFAULT_TABLE_TYPE;
}
+ public HoodieMetadataVersion getTableVersion() {
+ if (props.containsKey(HOODIE_TABLE_VERSION_PROP_NAME)) {
Review comment:
Can you just return the default using `props.get(k, default)` method?
----------------------------------------------------------------
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]
With regards,
Apache Git Services