Péter Váry
01/26/2024, 9:37 AMtEnv.fromDataStream(fsFiles, $("location"), $("ts").rowtime())
I was not able to come up with the correct Schema definition for using the record eventtime for the rowtime.
Thanks,
PeterTim Wolfe
01/30/2024, 8:57 PMTim Wolfe
01/30/2024, 8:57 PMPéter Váry
01/31/2024, 10:28 AMts, and I did not have the timestamp in the records itself. Also I wanted to generate the watermarks in my stream based on my specific requirements.
So in a previous operator, I did something like this:
output.collect(record, timestamp);
output.emitWatermark(new Watermark(watermark));
The original stream creation used the timestamp for the record timestamp, and did not generate a new watermark.
Based on your suggestion, I could add the timestamp to the record, and use it as a ts column. Also, we could generate additional watermarks, which are not needed, but the solution could work.
Thanks,
Peter