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

[NEMO-456] Remove unnecessary shuffling processes in Combine transformation #302

Merged
merged 11 commits into from
Oct 17, 2020

Conversation

jaehwan0214
Copy link
Contributor

JIRA: NEMO-456: Remove unnecessary shuffling processes in Combine transformation

Major changes:

  • Removed the unnecessary shuffling process before the partial combine transform by creating CombineFnWindowedTransform class.

Tests for the changes:

  • Modified GBKTransformTest to test CombineFnWindowedTransform also.

Closes #302

@@ -275,7 +275,7 @@ DAGBuilder getBuilder() {
if (srcTransform instanceof FlattenTransform) {
return CommunicationPatternProperty.Value.ONE_TO_ONE;
}
if (dstTransform instanceof GBKTransform
if ((dstTransform instanceof GBKTransform && !((GBKTransform) dstTransform).getIsPartialCombining())
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you please add some comments here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I added them. Thank you.

@sonarcloud
Copy link

sonarcloud bot commented Oct 17, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@taegeonum taegeonum merged commit e325087 into apache:master Oct 17, 2020
taegeonum pushed a commit that referenced this pull request Oct 18, 2020
JIRA: [NEMO-460: Setting coders in CombinePerKey transformation](https://issues.apache.org/jira/projects/NEMO/issues/NEMO-460)

**Major changes:**
- Added the additional parameter "inputCoder" for GBKTransform constructor.
- Fixed the input coder and the output coder for the partial combine transform and the final combine transform.

**Minor changes to note:**
- Fixed the main output TupleTags for the partial combine transform and the final combine transform.

**Tests for the changes:**
- Current tests suffice.

**Other comments:**
- This needs to be merged after merging #302

Closes #303
@wonook wonook deleted the 456-RemoveShufflinginCombine branch October 18, 2020 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants