Skip to content

[FLINK-6246] Fix generic type of OutputTag in operator Output#3662

Closed
aljoscha wants to merge 2 commits intoapache:masterfrom
aljoscha:jira-6246-fix-output-tag-param
Closed

[FLINK-6246] Fix generic type of OutputTag in operator Output#3662
aljoscha wants to merge 2 commits intoapache:masterfrom
aljoscha:jira-6246-fix-output-tag-param

Conversation

@aljoscha
Copy link
Copy Markdown
Contributor

@aljoscha aljoscha commented Apr 3, 2017

@aljoscha aljoscha force-pushed the jira-6246-fix-output-tag-param branch from 3cfc5b1 to 7d1e656 Compare April 3, 2017 14:12
@aljoscha aljoscha changed the title [FLINK-6246] Fix generic type of OutputTag in operator Output<Paste> [FLINK-6246] Fix generic type of OutputTag in operator Output Apr 3, 2017

// due to side outputs, StreamRecords of varying types can pass through the broadcasting
// collector so we need to cast
@SuppressWarnings({"unchecked", "rawtypes"})
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suppression not needed anymore. Also the comment is not adequate, as we do not cast anything.

}

// don't copy for the last output
@SuppressWarnings({"unchecked", "rawtypes"})
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove suppression.


// execute the program
env.execute("Streaming Iteration Example");
System.out.println(env.getExecutionPlan());
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this change should be reverted.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh no, I was playing around with something. 😱

@aljoscha
Copy link
Copy Markdown
Contributor Author

aljoscha commented Apr 4, 2017

@dawidwys thanks for reviewing so quickly. I pushed a commit to address your comments.

@dawidwys
Copy link
Copy Markdown
Contributor

dawidwys commented Apr 4, 2017

Now, I think it is good to merge ;)

@zentol
Copy link
Copy Markdown
Contributor

zentol commented Apr 5, 2017

merging.

@asfgit asfgit closed this in 9bdbe60 Apr 5, 2017
p16i pushed a commit to p16i/flink that referenced this pull request Apr 16, 2017
@aljoscha aljoscha deleted the jira-6246-fix-output-tag-param branch April 20, 2017 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants