Wouter Zorgdrager
01/08/2025, 1:31 PM.column_by_metadata("kafka_time", DataTypes.TIMESTAMP(3), "timestamp")
.watermark("kafka_time", "kafka_time")
the left table/probe table does use a timestamp which might be out-of-order by a few seconds so I configured it like this
.watermark("trigger_time", "trigger_time - interval '5' second")
With one of the versioned tables I do a inner-join and for the other one I do a left-join. For the latter, I noticed some of the output events to contain nulls because that version is probably not in state anymore. I don't really have an intuition why this would happen? The left-table does have a watermark 5 seconds in the past, so I thought that this ensures that the state of the right tables would be preserved within that period? Or do also need to configure out-of-orderness for the versioned tables, even though there is no late data there because we use the kafka_timestamp as watermark? Hope someone can help me understand!Wouter Zorgdrager
01/08/2025, 1:39 PM