You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (JIRA)" <ji...@apache.org> on 2016/06/07 08:53:21 UTC

[jira] [Commented] (FLINK-3977) Subclasses of InternalWindowFunction must support OutputTypeConfigurable

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

Aljoscha Krettek commented on FLINK-3977:
-----------------------------------------

The way to solve this is to make subclasses of {{InternalWindowFunction}} extends {{OutputTypeConfigurable}}. When {{setOutputType()}} is called these must check whether the wrapped function is {{OutputTypeConfigurable}} and forward the call.

> Subclasses of InternalWindowFunction must support OutputTypeConfigurable
> ------------------------------------------------------------------------
>
>                 Key: FLINK-3977
>                 URL: https://issues.apache.org/jira/browse/FLINK-3977
>             Project: Flink
>          Issue Type: Bug
>          Components: Streaming
>            Reporter: Aljoscha Krettek
>            Priority: Critical
>
> Right now, if they wrap functions and a wrapped function implements {{OutputTypeConfigurable}}, {{setOutputType}} is never called. This manifests itself, for example, in FoldFunction on a window with evictor not working.



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