Github user fhueske commented on a diff in the pull request:
https://github.com/apache/flink/pull/5140#discussion_r159014190
--- Diff:
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/runtime/join/TimeBoundedStreamJoin.scala
---
@@ -133,6 +149,19 @@ abstract class TimeBoundedStreamInnerJoin(
val rightTimerStateDesc: ValueStateDescriptor[Long] =
new ValueStateDescriptor[Long]("InnerJoinRightTimerState",
classOf[Long])
rightTimerState = getRuntimeContext.getState(rightTimerStateDesc)
+
+
+ // Initialize the two reusable padding results.
+ var i = 0
+ while (i < leftArity) {
--- End diff --
Move to util class
---