Skip to content

Move PubsubIO source Lineage report to MapElements#32381

Merged
Abacn merged 2 commits intoapache:masterfrom
Abacn:pubsublineagealt
Sep 9, 2024
Merged

Move PubsubIO source Lineage report to MapElements#32381
Abacn merged 2 commits intoapache:masterfrom
Abacn:pubsublineagealt

Conversation

@Abacn
Copy link
Copy Markdown
Contributor

@Abacn Abacn commented Aug 30, 2024

Received feedback of #32319 that the standalone Impulse->DoFn lineage reporting may be confusing as user sees an extra transform while expanding PubSubIO read in their UI

This PR moves Lineage report into the existing MapElement step, using a wrapper SerializableFunction. In this way job graph is unchanged.

Please add a meaningful description for your change here


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

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

@Abacn
Copy link
Copy Markdown
Contributor Author

Abacn commented Aug 30, 2024

Tested PubsubIOReadIT on Dataflow legacy runner

R: @rohitsinha54

cc: @tomstepp

@github-actions
Copy link
Copy Markdown
Contributor

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control. If you'd like to restart, comment assign set of reviewers

@Abacn Abacn force-pushed the pubsublineagealt branch from aa1b489 to 0614c67 Compare August 30, 2024 19:47
* <ul>
* <li>{@code system:segment1.segment2}
* <li>{@code system:routine:segment1.segment2}
* <li>{@code system:subtype:segment1.segment2}
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.

also fix routine->subtype which is the official name of this part of FQN. I was confused by some internal doc which marked "routine" here

@tomstepp
Copy link
Copy Markdown
Contributor

tomstepp commented Sep 9, 2024

LGTM

@Abacn Abacn merged commit 5fbfdba into apache:master Sep 9, 2024
@Abacn Abacn deleted the pubsublineagealt branch September 9, 2024 19:23
@Abacn Abacn mentioned this pull request Sep 20, 2024
3 tasks
reeba212 pushed a commit to reeba212/beam that referenced this pull request Dec 4, 2024
* Move PubsubIO source Lineage report to MapElements

* Fix route -> subtype
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.

2 participants