1
0

[HUDI-4298] When reading the mor table with QUERY_TYPE_SNAPSHOT,Unabl… (#5937)

* [HUDI-4298] Add test case for reading mor table

Signed-off-by: LinMingQiang <1356469429@qq.com>
This commit is contained in:
HunterXHunter
2022-07-12 14:49:44 +08:00
committed by GitHub
parent a270eeeef9
commit 994c561488
7 changed files with 179 additions and 65 deletions

View File

@@ -66,6 +66,10 @@ public class HoodieTestUtils {
return init(getDefaultHadoopConf(), basePath, tableType);
}
public static HoodieTableMetaClient init(String basePath, HoodieTableType tableType, Properties properties) throws IOException {
return init(getDefaultHadoopConf(), basePath, tableType, properties);
}
public static HoodieTableMetaClient init(String basePath, HoodieTableType tableType, String bootstrapBasePath, boolean bootstrapIndexEnable) throws IOException {
Properties props = new Properties();
props.setProperty(HoodieTableConfig.BOOTSTRAP_BASE_PATH.key(), bootstrapBasePath);