[ https://issues.apache.org/jira/browse/FLINK-11188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16727408#comment-16727408 ]
Fabian Hueske commented on FLINK-11188: --------------------------------------- Agreed! * OVER RANGE should automatically clean up its state. * OVER ROWS should clean up based on the idle state retention configuration. Should be done as two separate issues, IMO. > Bounded over should not enable state retention time > ---------------------------------------------------- > > Key: FLINK-11188 > URL: https://issues.apache.org/jira/browse/FLINK-11188 > Project: Flink > Issue Type: Bug > Components: Table API & SQL > Reporter: Hequn Cheng > Assignee: Hequn Cheng > Priority: Major > > As discussed in FLINK-11172, time-based operations (GROUP BY windows, OVER > windows, time-windowed join, etc.) are inherently bound by time and > automatically clean up their state. We should not add state cleanup or TTL > for these operators. > If I understand correctly, we should not add the retention logic for > rows-bounded operations either. I think we should disable state retention > logic for: > - ProcTimeBoundedRangeOver > - ProcTimeBoundedRowsOver > - RowTimeBoundedRangeOver > - RowTimeBoundedRowsOver > Any suggestions are appreciated! -- This message was sent by Atlassian JIRA (v7.6.3#76005)