Github user xccui commented on the issue: https://github.com/apache/flink/pull/5094 Hi @hequn8128, thanks for looking into this. I've checked the current implementation and found that it really may emit late data. However, that was caused by the checkings below: https://github.com/apache/flink/blob/427dfe42e2bea891b40e662bc97cdea57cdae3f5/flink-libraries/flink-table/src/main/scala/org/apache/flink/table/runtime/join/TimeBoundedStreamInnerJoin.scala#L173 and https://github.com/apache/flink/blob/427dfe42e2bea891b40e662bc97cdea57cdae3f5/flink-libraries/flink-table/src/main/scala/org/apache/flink/table/runtime/join/TimeBoundedStreamInnerJoin.scala#L234 In some situations, they will not forbid the late rows from being calculated and emitted. Honestly, I cannot think out a solution in a short time. Do you want to continue working on that? Or I could take it over, if you don't mind. Thanks, Xingcan
---