pengzhiwei2018 commented on a change in pull request #2651:
URL: https://github.com/apache/hudi/pull/2651#discussion_r601290387
##########
File path:
hudi-common/src/main/java/org/apache/hudi/common/table/HoodieTableConfig.java
##########
@@ -193,6 +195,14 @@ public String getPreCombineField() {
return props.getProperty(HOODIE_TABLE_PRECOMBINE_FIELD);
}
+ public Option<String[]> getPartitionColumns() {
Review comment:
For the previous version of hudi, There are no partition column stored
in the hoodie.properties. So It return an `Option#empty` for this case. We can
distinguish the case of empty partitions and not store partition columns. I saw
other property like `getBootstrapBasePath` also use the Option.
--
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]