[jira] [Created] (FLINK-2968) Windowed fold operation fails because the initial value was not serialized

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-2968) Windowed fold operation fails because the initial value was not serialized

Shang Yuanchun (Jira)
Till Rohrmann created FLINK-2968:
------------------------------------

             Summary: Windowed fold operation fails because the initial value was not serialized
                 Key: FLINK-2968
                 URL: https://issues.apache.org/jira/browse/FLINK-2968
             Project: Flink
          Issue Type: Bug
    Affects Versions: 0.10
            Reporter: Till Rohrmann
            Assignee: Till Rohrmann


The windowed fold operation currently fails because the initial value was not serialized. The reason for this is that the fold operation is realized as a {{WindowFunction}} within an {{AbstractUdfStreamOperator}} and does not get the output type information forwarded (which is necessary for the serialization).

The solution is to let the {{AbstractUdfStreamOperator}} forward the output type information to the {{WindowFunction}} if it implements the {{OutputTypeConfigurable}} interface.



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