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)