snuyanzin commented on code in PR #26133:
URL: https://github.com/apache/flink/pull/26133#discussion_r1950034192


##########
flink-table/flink-table-common/src/test/java/org/apache/flink/table/types/extraction/TypeInferenceExtractorTest.java:
##########
@@ -2277,7 +2288,10 @@ public void eval(
     }
 
     private static class MultiStateProcessTableFunction extends 
ProcessTableFunction<Integer> {
-        public void eval(@StateHint MyFirstState s1, @StateHint MySecondState 
s2, Integer i) {}
+        public void eval(
+                @StateHint(ttl = "2 days") MyFirstState s1,
+                @StateHint(ttl = "0") MySecondState s2,
+                Integer i) {}

Review Comment:
   it seems tests are passing with nanoseconds and microseconds.
   However will it be able to handle e2e case with for instance 1 nano ttl?



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