I am reading at
It has following example:
SELECT *
FROM Orders o, Shipments s
WHERE o.id = s.order_id
AND o.order_time BETWEEN s.ship_time - INTERVAL '4' HOUR AND s.ship_time
I got following two questions:
If
o.order_time
ands.ship_time
are normal time column, not event time attribute, then all the states will be saved in Flink, like normal regular inner join does? So that, maybe big size states will be kept in FlinkIf
o.order_time
ands.ship_time
are event time attributes, then flink will rely on watermark to do state clean up? so that small size states will be kept in Flink