leonardBang commented on a change in pull request #15247:
URL: https://github.com/apache/flink/pull/15247#discussion_r598382812
##########
File path:
flink-table/flink-table-runtime-blink/src/main/java/org/apache/flink/table/runtime/operators/join/temporal/TemporalRowTimeJoinOperator.java
##########
@@ -301,6 +302,8 @@ private void cleanupExpiredVersionInState(long
currentWatermark, List<RowData> r
public void cleanupState(long time) {
leftState.clear();
rightState.clear();
+ nextLeftIndex.clear();
+ registeredTimer.clear();
Review comment:
Thanks for the contribution @zicat , but I didn't understand why `
nextLeftIndex` and `registeredTimer` state will lead to the data expansion,
could you explain more and also add test in `TemporalRowTimeJoinOperatorTest` ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]