nsivabalan commented on code in PR #5747: URL: https://github.com/apache/hudi/pull/5747#discussion_r890198742
########## hudi-common/src/test/java/org/apache/hudi/common/testutils/HoodieTestUtils.java: ########## @@ -103,10 +103,17 @@ public static HoodieTableMetaClient init(Configuration hadoopConf, String basePa } public static HoodieTableMetaClient init(Configuration hadoopConf, String basePath, HoodieTableType tableType, - HoodieFileFormat baseFileFormat) + HoodieFileFormat baseFileFormat) throws IOException { + return init(hadoopConf, basePath, tableType, baseFileFormat, "org.apache.hudi.keygen.SimpleKeyGenerator", true); + } + + public static HoodieTableMetaClient init(Configuration hadoopConf, String basePath, HoodieTableType tableType, + HoodieFileFormat baseFileFormat, String keyGenerator, boolean populateMetaFields) throws IOException { Properties properties = new Properties(); properties.setProperty(HoodieTableConfig.BASE_FILE_FORMAT.key(), baseFileFormat.toString()); + properties.setProperty("hoodie.datasource.write.keygenerator.class", keyGenerator); Review Comment: those classes(DataSourceOptions) are not visible from this module unfortunately. -- 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: commits-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org