[HUDI-1895] Close the file handles gracefully for flink write function to avoid corrupted files (#2938)
This commit is contained in:
@@ -392,9 +392,8 @@ public class HoodieDataSourceITCase extends AbstractTestBase {
|
||||
assertRowsEquals(result, "[id1,Sophia,18,1970-01-01T00:00:05,par5]");
|
||||
}
|
||||
|
||||
@ParameterizedTest
|
||||
@EnumSource(value = ExecMode.class)
|
||||
void testStreamReadEmptyTablePath(ExecMode execMode) throws Exception {
|
||||
@Test
|
||||
void testStreamReadEmptyTablePath() throws Exception {
|
||||
// create an empty table
|
||||
Configuration conf = TestConfigurations.getDefaultConf(tempFile.getAbsolutePath());
|
||||
StreamerUtil.initTableIfNotExists(conf);
|
||||
|
||||
Reference in New Issue
Block a user