Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.10.0
-
None
-
None
Description
Using an EventTimeSourceFunction in a DataStream programs that does not operate with TimeCharacteristic.EventTime leads to a ClassCastException when the first Watermark is emitted:
Caused by: java.lang.ClassCastException: org.apache.flink.streaming.api.watermark.Watermark cannot be cast to org.apache.flink.streaming.runtime.streamrecord.StreamRecord
This exception is not very helpful for users that simply for got to set the correct TimeCharacteristic and should be improved.