[HUDI-2113] Fix integration testing failure caused by sql results out of order (#3204)
This commit is contained in:
@@ -24,6 +24,7 @@ import org.apache.hudi.common.util.collection.Pair;
|
||||
|
||||
import org.apache.hudi.keygen.SimpleKeyGenerator;
|
||||
|
||||
import org.junit.jupiter.api.AfterEach;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
@@ -89,6 +90,17 @@ public class ITTestHoodieDemo extends ITTestBase {
|
||||
+ " --hoodie-conf hoodie.datasource.hive_sync.database=default "
|
||||
+ " --hoodie-conf hoodie.datasource.hive_sync.table=%s";
|
||||
|
||||
|
||||
@AfterEach
|
||||
public void clean() throws Exception {
|
||||
String hdfsCmd = "hdfs dfs -rm -R ";
|
||||
List<String> tablePaths = CollectionUtils.createImmutableList(
|
||||
COW_BASE_PATH, MOR_BASE_PATH, COW_BOOTSTRAPPED_BASE_PATH, MOR_BOOTSTRAPPED_BASE_PATH);
|
||||
for (String tablePath : tablePaths) {
|
||||
executeCommandStringInDocker(ADHOC_1_CONTAINER, hdfsCmd + tablePath, true);
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testParquetDemo() throws Exception {
|
||||
baseFileFormat = HoodieFileFormat.PARQUET;
|
||||
|
||||
Reference in New Issue
Block a user