wuchong commented on a change in pull request #11830:
URL: https://github.com/apache/flink/pull/11830#discussion_r485423944
##########
File path:
flink-table/flink-table-runtime-blink/src/main/java/org/apache/flink/table/runtime/operators/aggregate/GroupAggFunction.java
##########
@@ -83,61 +85,57 @@
// stores the accumulators
private transient ValueState<RowData> accState = null;
+ private final StateTtlConfig ttlConfig;
Review comment:
I think we can simply use `stateRetentionTime > 0` to check whether ttl
is enabled. We can also wrap that as a utility if needed.
----------------------------------------------------------------
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]