You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "liwei (Jira)" <ji...@apache.org> on 2020/10/06 08:36:00 UTC

[jira] [Created] (HUDI-1315) introduce a builder pattern init the table properties

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)