You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Aljoscha Krettek (JIRA)" <ji...@apache.org> on 2016/12/05 00:10:58 UTC

[jira] [Created] (FLINK-5250) Make AbstractUdfStreamOperator aware of WrappingFunction

Aljoscha Krettek created FLINK-5250:
---------------------------------------

             Summary: Make AbstractUdfStreamOperator aware of WrappingFunction
                 Key: FLINK-5250
                 URL: https://issues.apache.org/jira/browse/FLINK-5250
             Project: Flink
          Issue Type: Improvement
          Components: Streaming
            Reporter: Aljoscha Krettek


Right now, when using a {{WrappingFunction}}, as happens for {{WindowFunction}} and also for some functions in the Scala API then using custom interfaces is not possible. These custom interfaces are, for example, the checkpointing functions such as {{ListCheckpointed}} and {{CheckpointedFunction}}.

We should teach {{AbstractUdfStreamOperator}} about {{WrapingFunction}} so that it can correctly handle the case where wrapped user functions implement on of these interfaces.

Also, in the Scala API we have some custom functions that mimic {{WrappingFunction}} behaviour. These should be moved to use {{WrappingFunction}}, if possible.



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

答复: [jira] [Created] (FLINK-5250) Make AbstractUdfStreamOperator aware of WrappingFunction

Posted by liuxinchun <li...@huawei.com>.
Where can I find the usage of CheckpointedFunction? And I found the ckeckpoint problem in the following issue:

https://issues.apache.org/jira/browse/FLINK-5221


-----邮件原件-----
发件人: Aljoscha Krettek (JIRA) [mailto:jira@apache.org] 
发送时间: 2016年12月5日 8:11
收件人: dev@flink.apache.org
主题: [jira] [Created] (FLINK-5250) Make AbstractUdfStreamOperator aware of WrappingFunction

Aljoscha Krettek created FLINK-5250:
---------------------------------------

             Summary: Make AbstractUdfStreamOperator aware of WrappingFunction
                 Key: FLINK-5250
                 URL: https://issues.apache.org/jira/browse/FLINK-5250
             Project: Flink
          Issue Type: Improvement
          Components: Streaming
            Reporter: Aljoscha Krettek


Right now, when using a {{WrappingFunction}}, as happens for {{WindowFunction}} and also for some functions in the Scala API then using custom interfaces is not possible. These custom interfaces are, for example, the checkpointing functions such as {{ListCheckpointed}} and {{CheckpointedFunction}}.

We should teach {{AbstractUdfStreamOperator}} about {{WrapingFunction}} so that it can correctly handle the case where wrapped user functions implement on of these interfaces.

Also, in the Scala API we have some custom functions that mimic {{WrappingFunction}} behaviour. These should be moved to use {{WrappingFunction}}, if possible.



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