liwei created HUDI-1315:
---------------------------

             Summary: introduce a builder pattern init the table properties
                 Key: HUDI-1315
                 URL: https://issues.apache.org/jira/browse/HUDI-1315
             Project: Apache Hudi
          Issue Type: Improvement
          Components: Common Core
            Reporter: liwei


introduce a builder pattern init the table properties. those overloaded 
{{initXX}} are hard to read.

such as

/**
 * Used primarily by tests, examples.
 */
public static HoodieTableMetaClient initTableType(Configuration hadoopConf, 
String basePath, HoodieTableType tableType,
 String tableName, String payloadClassName, String indexType) throws 
IOException {
 return initTableType(hadoopConf, basePath, tableType, tableName, null, 
payloadClassName,
 null, null, null, null, indexType);
}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to