Skip to content

Commit

Permalink
[hotfix][runtime] CollectionDataInput handles WatermarkStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
Sxnan authored and xintongsong committed Dec 19, 2023
1 parent 4cc24c1 commit 72a0ed6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ public DataInputStatus emitNext(DataOutput<E> output) throws Exception {
output.emitRecord(streamElement.asRecord());
} else if (streamElement instanceof Watermark) {
output.emitWatermark(streamElement.asWatermark());
} else if (streamElement.isWatermarkStatus()) {
output.emitWatermarkStatus(streamElement.asWatermarkStatus());
} else {
throw new IllegalStateException("Unsupported element type: " + streamElement);
}
Expand Down

0 comments on commit 72a0ed6

Please sign in to comment.