Skip to content

[BEAM-2421] Swap to use an Impulse primitive + DoFn for Create when executing with the Fn API.#3312

Closed
lukecwik wants to merge 4 commits intoapache:masterfrom
lukecwik:fn_api2
Closed

[BEAM-2421] Swap to use an Impulse primitive + DoFn for Create when executing with the Fn API.#3312
lukecwik wants to merge 4 commits intoapache:masterfrom
lukecwik:fn_api2

Conversation

@lukecwik
Copy link
Member

@lukecwik lukecwik commented Jun 7, 2017

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

  • Make sure the PR title is formatted like:
    [BEAM-<Jira issue #>] Description of pull request
  • Make sure tests pass via mvn clean verify.
  • Replace <Jira issue #> in the title with the actual Jira issue
    number, if there is one.
  • If this contribution is large, please file an Apache
    Individual Contributor License Agreement.

@lukecwik lukecwik changed the title Swap to use an Impulse primitive + DoFn for Create when executing with the Fn API. [BEAM-2421] Swap to use an Impulse primitive + DoFn for Create when executing with the Fn API. Jun 7, 2017
@lukecwik
Copy link
Member Author

lukecwik commented Jun 7, 2017

R: @tgroh

overridesBuilder.add(
PTransformOverride.of(
PTransformMatchers.classEqualTo(Create.Values.class),
new ReflectiveRootOverrideFactory(StreamingFnApiCreate.class, this)));
Copy link
Member

Choose a reason for hiding this comment

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

I would strongly consider making this a "real" (precise?) OverrideFactory

Copy link
Member Author

Choose a reason for hiding this comment

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

Done


/**
* A DoFn which stores encoded versions of elements and a representation of a Coder
* capable of decoding those elements.
Copy link
Member

Choose a reason for hiding this comment

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

Associated JIRA?

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 70.499% when pulling f3c3391 on lukecwik:fn_api2 into 78b6e3c on apache:master.

Copy link
Member

@tgroh tgroh left a comment

Choose a reason for hiding this comment

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

LGTM.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 70.497% when pulling e06ac4b on lukecwik:fn_api2 into 78b6e3c on apache:master.

@asfgit asfgit closed this in caecac3 Jun 7, 2017
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