Skip to content

Commit e359eda

Browse files
committed
[Flink] fix lazy source enumerator behaviour on error
1 parent 2c01ac0 commit e359eda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

runners/flink/src/main/java/org/apache/beam/runners/flink/translation/wrappers/streaming/io/source/LazyFlinkSourceSplitEnumerator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ public void start() {
8484
}
8585
},
8686
(sourceSplits, error) -> {
87+
pendingSplits.addAll(sourceSplits);
8788
if (error != null) {
8889
throw new RuntimeException("Failed to start source enumerator.", error);
8990
}

0 commit comments

Comments
 (0)