Github user VenturaDelMonte commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2756#discussion_r87974146
  
    --- Diff: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/datastream/WindowedStream.java
 ---
    @@ -800,4 +907,39 @@ public StreamExecutionEnvironment 
getExecutionEnvironment() {
        public TypeInformation<T> getInputType() {
                return input.getType();
        }
    +
    +   private static <T, R, K, W extends Window> ProcessWindowFunction<T, R, 
K, W> wrapWindowFunction(final WindowFunction<T, R, K, W> cleanedFunction) {
    --- End diff --
    
    Yes, I know about it, but having a WrappingFunction<WindowFunction> would 
not be possible here because we need to create a ProcessWindowFunction. Anyway 
as I would get rid of the triple nesting 
InternalWindowFunction(ProcessWindowFunction(WindowFunction))), this is no 
longer an issue. By the way, I added this triple nesting because I thought you 
wanted to completely decouple the WindowFunction interface from runtime 
internals. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to