You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2017/07/18 19:02:00 UTC

[jira] [Closed] (FLINK-6550) Calling ctx.collect with a null OutputTag should log a warning or throw an exception

     [ https://issues.apache.org/jira/browse/FLINK-6550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler closed FLINK-6550.
-----------------------------------
       Resolution: Fixed
         Assignee: Chesnay Schepler
    Fix Version/s: 1.4.0

1.4: daed1eecbab283803c48c13fb380d442f3cfd1a5

> Calling ctx.collect with a null OutputTag should log a warning or throw an exception
> ------------------------------------------------------------------------------------
>
>                 Key: FLINK-6550
>                 URL: https://issues.apache.org/jira/browse/FLINK-6550
>             Project: Flink
>          Issue Type: Improvement
>          Components: DataStream API
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> When using side outputs it is currently possible to call {Context#collect(OutputTag<X>, X record)} with null for the OutputTag. Effectively this causes the data to be swallowed. It is unlikely that a user actually intends this, so i propose to either log a warning or throw an exception.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)