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

BEAM-379: Add support for source Ptransform in DisplayDataEvaluator #542

Closed
wants to merge 4 commits into from

Conversation

vikkyrk
Copy link
Contributor

@vikkyrk vikkyrk commented Jun 27, 2016

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. (Even better, enable
    Travis-CI on your fork and ensure the whole test matrix passes).
  • 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.

DisplayDataEvaluator takes PTranform<? extends PCollection, ? extends POutput>, but this doesn't work for source transforms of the form PTransform<PBegin, PCollection>. Add a new method that works for source PTransforms.

@vikkyrk
Copy link
Contributor Author

vikkyrk commented Jun 27, 2016

@bjchambers @dhalperi @swegner Please take a look when you get a chance.

/**
* Traverse the specified source {@link PTransform}, collecting {@link DisplayData} registered
* on the inner primitive {@link PTransform PTransforms}.
* @param root The source root {@link PTransform} to traverse
Copy link
Contributor

Choose a reason for hiding this comment

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

blank line between main content and @param

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

@dhalperi
Copy link
Contributor

LGTM

@asfgit asfgit closed this in 05a1d20 Jun 27, 2016
@vikkyrk vikkyrk deleted the vikasrk/display_evaluator branch June 27, 2016 20:02
@swegner
Copy link
Contributor

swegner commented Jun 29, 2016

👍 thanks for contributing this!

johnjcasey pushed a commit to johnjcasey/beam that referenced this pull request Feb 8, 2023
pl04351820 pushed a commit to pl04351820/beam that referenced this pull request Dec 20, 2023
Source-Link: googleapis/synthtool@ca87909
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:6162c384d685c5fe22521d3f37f6fc732bf99a085f6d47b677dbcae97fc21392
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.

None yet

4 participants