Skip to content

Make use of per-computation maps of transform username to state family - #7846

Merged
aaltay merged 1 commit into
apache:masterfrom
drieber:flatten-unzipping
Feb 17, 2019
Merged

aaltay merged 1 commit into
apache:masterfrom
drieber:flatten-unzipping

Conversation

@drieber

@drieber drieber commented Feb 14, 2019

Copy link
Copy Markdown
Contributor

This fixes a problem with some cases of flatten unzipping.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- --- --- --- ---
Java Build Status Build Status Build Status Build Status
Build Status
Build Status
Build Status Build Status Build Status
Python Build Status --- Build Status
Build Status
Build Status --- --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

@drieber

drieber commented Feb 14, 2019

Copy link
Copy Markdown
Contributor Author

R: @dpmills
The main changes are ready, but more testing is needed. At this point I am sending it out as an RFC.

btw, I need to learn how to take a branch like this one, which has a lot of merges, and create a PR which only shows the important stuff.... I am sure it is easy, but I don't know how to do that yet.

@drieber
drieber force-pushed the flatten-unzipping branch 2 times, most recently from fae1026 to e8aba6c Compare February 15, 2019 01:11
@drieber

drieber commented Feb 15, 2019

Copy link
Copy Markdown
Contributor Author

Run Java PreCommit

@drieber
drieber force-pushed the flatten-unzipping branch 2 times, most recently from f7632f3 to cc4c394 Compare February 15, 2019 01:51
@drieber

drieber commented Feb 15, 2019

Copy link
Copy Markdown
Contributor Author

All existing tests passed and I squashed this into a single commit. This is ready for a first look.

@drieber

drieber commented Feb 15, 2019

Copy link
Copy Markdown
Contributor Author

R: @dpmills

@drieber

drieber commented Feb 15, 2019

Copy link
Copy Markdown
Contributor Author

R: @aaltay

…mily.

1. This now works e2e for streaming engine.
2. Added path to accept a per-computation transformUserNameToStateFamily from windmill appliance if one is returned. Windmill does not yet populate this field.
@aaltay
aaltay merged commit a06d9eb into apache:master Feb 17, 2019
this.computationId = computationId;
this.mapTask = mapTask;
this.executor = executor;
this.transformUserNameToStateFamily = ImmutableMap.copyOf(transformUserNameToStateFamily);

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.

DataFlow Examples PreCommit seems to be failing on this line, cf. discussion in #7865

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.

Thanks for pointing this out. The issue was fixed in PR 7869 and the job_PreCommit_Java_Examples_Dataflow glob was fixed in PR 7884.

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.

3 participants