davidradl commented on code in PR #27487:
URL: https://github.com/apache/flink/pull/27487#discussion_r2740989665


##########
flink-table/flink-table-runtime/src/main/java/org/apache/flink/table/runtime/operators/over/AbstractNonTimeUnboundedPrecedingOver.java:
##########
@@ -208,9 +210,6 @@ public void open(OpenContext openContext) throws Exception {
 
         // Initialize state to maintain id counter
         idStateDescriptor = new ValueStateDescriptor<Long>("idState", 
Long.class);
-        if (ttlConfig.isEnabled()) {

Review Comment:
   In addition to the fix could we have a validation check when defining a 
state ttl on NonTime Over Windows, and error in this case, so the user is not 
led to think that ttl might be valid in this case.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to