Skip to content

Commit

Permalink
[HUDI-4713] Fix flaky ITTestHoodieDataSource#testAppendWrite (apache#…
Browse files Browse the repository at this point in the history
  • Loading branch information
danny0405 authored and voonhous committed Oct 7, 2022
1 parent 10975fd commit 9d6f700
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 9d6f700

Please sign in to comment.