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/05/11 15:25:05 UTC

[jira] [Created] (FLINK-6553) Calls to getSideOutput() result in warnings regarding unchecked assignments

Chesnay Schepler created FLINK-6553:
---------------------------------------

             Summary: Calls to getSideOutput() result in warnings regarding unchecked assignments
                 Key: FLINK-6553
                 URL: https://issues.apache.org/jira/browse/FLINK-6553
             Project: Flink
          Issue Type: Improvement
          Components: Streaming
            Reporter: Chesnay Schepler


Consider the following code:

{code}
operator = ...
operator.getSideOutput(tag<X>).map(MapFunction<X,X>...)
{code}

When writing this you will get an unchecked assignment warning. You also can't let the IDE auto-generate the signature of the MapFunction, it will be typed to objects.

It is also odd that the following actually compiles, but that may be a java issue:

{code}
operator.<String>getSideOutput(new OutputTag<Integer>(){})
{code}





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)