Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLINK-8571] [DataStream] [Backport] Introduce utility function that reinterprets a data stream as keyed stream #5439

Conversation

StefanRRichter
Copy link
Contributor

This PR is a backport of #5424 to Flink 1.4.

…s a data stream as keyed stream (backport from 1.5 branch)
@StefanRRichter
Copy link
Contributor Author

CC @aljoscha @tzulitai

Copy link
Contributor

@tzulitai tzulitai left a comment

Choose a reason for hiding this comment

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

Any specific reason why the Scala test counterpart for reinterpretAsKeyedStream is not included in the backport?
Otherwise, changes look good to me 👍

public TemporaryFolder temporaryFolder = new TemporaryFolder();

/**
* FLINK-8571
Copy link
Contributor

@tzulitai tzulitai Feb 9, 2018

Choose a reason for hiding this comment

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

Can maybe remove this? I think there isn't a need to explicitly tag this.

Copy link
Contributor

Choose a reason for hiding this comment

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

@StefanRRichter Yes, this can then probably also be removed from the original PR before merging.

@aljoscha
Copy link
Contributor

aljoscha commented Feb 9, 2018

The changes look good! But as @tzulitai mentioned the missing Scala tests seem strange.

@StefanRRichter
Copy link
Contributor Author

Added the test.

@tzulitai
Copy link
Contributor

tzulitai commented Feb 9, 2018

LGTM once Travis is green.
We should also remove the redundant mention of FLINK-8571 in ReinterpretAsKeyedStreamITCase while merging.

@StefanRRichter
Copy link
Contributor Author

Thanks for the reviews! Will merge.

asfgit pushed a commit that referenced this pull request Feb 9, 2018
…s a data stream as keyed stream (backport from 1.5 branch)

This closes #5439.
@StefanRRichter StefanRRichter deleted the key-partitioned-source-1.4 branch February 9, 2018 17:24
JTaky pushed a commit to criteo-forks/flink that referenced this pull request Feb 16, 2018
…s a data stream as keyed stream (backport from 1.5 branch)

This closes apache#5439.
glaksh100 pushed a commit to lyft/flink that referenced this pull request Jun 6, 2018
…s a data stream as keyed stream (backport from 1.5 branch)

This closes apache#5439.
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