[ 
https://issues.apache.org/jira/browse/FLINK-5247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15722172#comment-15722172
 ] 

Aljoscha Krettek commented on FLINK-5247:
-----------------------------------------

I'm not sure we actually want this. The only reason for the existence of the 
"stream time characteristic" (settable on {{StreamExecutionEnvironment}}) is to 
be able to quickly switch a pipeline between processing time and event time. 
(Whether that's helpful beyond simple demos/explorations is a different 
discussion)

If we throw an exception instead of defaulting to zero internally we break this 
feature. Setting an allowed lateness other than zero for processing time 
windows is not per se wrong. It just cannot ever occur that we see elements so 
defaulting to zero internally is a runtime optimisation.

> Setting allowedLateness to a non-zero value should throw exception for 
> processing-time windows
> ----------------------------------------------------------------------------------------------
>
>                 Key: FLINK-5247
>                 URL: https://issues.apache.org/jira/browse/FLINK-5247
>             Project: Flink
>          Issue Type: Bug
>          Components: Streaming
>    Affects Versions: 1.1.0, 1.1.1, 1.1.2, 1.1.3
>            Reporter: Rohit Agarwal
>
> Related to FLINK-3714 and FLINK-4239



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to