Skip to content

Commit

Permalink
[HUDI-4713] Fix flaky ITTestHoodieDataSource#testAppendWrite (#6490)
Browse files Browse the repository at this point in the history
  • Loading branch information
danny0405 authored and yuzhaojing committed Sep 22, 2022
1 parent 989f1bb commit 739ddc7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1015,8 +1015,8 @@ void testBulkInsertNonPartitionedTable() {
void testAppendWrite(boolean clustering) {
TableEnvironment tableEnv = streamTableEnv;
// csv source
String csvSourceDDL = TestConfigurations.getCsvSourceDDL("csv_source", "test_source_5.data");
tableEnv.executeSql(csvSourceDDL);
String sourceDDL = TestConfigurations.getFileSourceDDL("source");
tableEnv.executeSql(sourceDDL);

String hoodieTableDDL = sql("hoodie_sink")
.option(FlinkOptions.PATH, tempFile.getAbsolutePath())
Expand All @@ -1025,7 +1025,7 @@ void testAppendWrite(boolean clustering) {
.end();
tableEnv.executeSql(hoodieTableDDL);

String insertInto = "insert into hoodie_sink select * from csv_source";
String insertInto = "insert into hoodie_sink select * from source";
execInsertSql(tableEnv, insertInto);

List<Row> result1 = CollectionUtil.iterableToList(
Expand Down

0 comments on commit 739ddc7

Please sign in to comment.