flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aljoscha Krettek (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-3869) WindowedStream.apply with FoldFunction is too restrictive
Date Wed, 04 May 2016 14:04:12 GMT
Aljoscha Krettek created FLINK-3869:

             Summary: WindowedStream.apply with FoldFunction is too restrictive
                 Key: FLINK-3869
                 URL: https://issues.apache.org/jira/browse/FLINK-3869
             Project: Flink
          Issue Type: Improvement
          Components: Streaming
            Reporter: Aljoscha Krettek
            Assignee: Aljoscha Krettek

Right now we have this signature:
public <R> SingleOutputStreamOperator<R> apply(R initialValue, FoldFunction<T,
R> foldFunction, WindowFunction<R, R, K, W> function) {

but we should have this signature to allow users to return a type other than the fold accumulator
type from their window function:
public <ACC, R> SingleOutputStreamOperator<R> apply(ACC initialValue, FoldFunction<T,
ACC> foldFunction, WindowFunction<ACC, R, K, W> function) {

This message was sent by Atlassian JIRA

View raw message