[HUDI-2789] Flink batch upsert for non partitioned table does not work (#4028)
This commit is contained in:
@@ -424,6 +424,8 @@ public class HoodieDataSourceITCase extends AbstractTestBase {
|
||||
String hoodieTableDDL = sql("t1")
|
||||
.option(FlinkOptions.PATH, tempFile.getAbsolutePath())
|
||||
.option(FlinkOptions.TABLE_NAME, tableType.name())
|
||||
.option("hoodie.parquet.small.file.limit", "0") // invalidate the small file strategy
|
||||
.option("hoodie.parquet.max.file.size", "0")
|
||||
.noPartition()
|
||||
.end();
|
||||
tableEnv.executeSql(hoodieTableDDL);
|
||||
|
||||
@@ -247,6 +247,11 @@ public class TestConfigurations {
|
||||
return this;
|
||||
}
|
||||
|
||||
public Sql option(String key, Object val) {
|
||||
this.options.put(key, val.toString());
|
||||
return this;
|
||||
}
|
||||
|
||||
public Sql options(Map<String, String> options) {
|
||||
this.options.putAll(options);
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user