Thank you Hecheng. I just tried to use Table API as your suggestion, and it almost worked (it worked with two issues here below): - I only get the output when my event-time watermark goes pass the end of the tumbling window. But, because I know that there are maximum 2 records per window (one from each stream), I would like to collect my output record as soon as I received two input records. With low-level-API, I believe I can do this with Trigger. Can I achieve a similar result with Table API? - In the UDAggF document, I saw a recommendation to use Java instead of Scala. Does this apply to the low-level-API functions as well?
Thanks and best regards, Averell -- Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/