You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2015/11/04 16:39:27 UTC

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

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)