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

Updates Managed Javadocs and pydocs to refer to runner specific features #34072

Merged

Conversation

chamikaramj
Copy link
Contributor

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.

@chamikaramj
Copy link
Contributor Author

R: @ahmedabu98

Copy link
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

Copy link

codecov bot commented Feb 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.75%. Comparing base (82d3d8d) to head (3db597f).
Report is 11 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #34072      +/-   ##
============================================
+ Coverage     57.70%   57.75%   +0.05%     
  Complexity     1474     1474              
============================================
  Files           993      995       +2     
  Lines        157383   157599     +216     
  Branches       1076     1076              
============================================
+ Hits          90815    91026     +211     
- Misses        64321    64326       +5     
  Partials       2247     2247              
Flag Coverage Δ
python 81.32% <ø> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@chamikaramj chamikaramj force-pushed the update_managed_documentation_2 branch from 3db597f to 580c116 Compare February 26, 2025 03:24
@chamikaramj
Copy link
Contributor Author

Don't think the errors are related to this PR.

@chamikaramj chamikaramj force-pushed the update_managed_documentation_2 branch from 580c116 to 9b9bfa9 Compare March 3, 2025 21:34
Copy link
Contributor

@ahmedabu98 ahmedabu98 left a comment

Choose a reason for hiding this comment

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

Would it help to also have some documentation on how Managed works? If I'm an external user, it'd feel pretty opaque and "magical" to me.

For example, documenting the journey of a SchemaTransform identifier + configuration and what power the runner has exactly to replace things.

Comment on lines 313 to 319
* <h3>Runner specific features</h3>
*
* Google Cloud Dataflow supports additional management features for {@code Managed} including
* automatically upgrading transforms to the latest supported version. For more details and
* examples, please see <a href="https://cloud.google.com/dataflow/docs/guides/managed-io">Dataflow
* managed I/O</a>.
*
Copy link
Contributor

Choose a reason for hiding this comment

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

I think keeping this text it in Managed is enough? Not sure if it belongs in the IO doc, and to be consistent we'd also need to include it for other Managed IOs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Makes sense. Reverted updates to this file.

@chamikaramj chamikaramj force-pushed the update_managed_documentation_2 branch from 9b9bfa9 to c6dee85 Compare March 4, 2025 20:43
@github-actions github-actions bot removed the io label Mar 4, 2025
Copy link
Contributor Author

@chamikaramj chamikaramj left a comment

Choose a reason for hiding this comment

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

Would it help to also have some documentation on how Managed works? If I'm an external user, it'd feel pretty opaque and "magical" to me.

I think the linked Dataflow documentation explains this (some of the implementation details are internal to Dataflow)

For example, documenting the journey of a SchemaTransform identifier + configuration and what power the runner has exactly to replace things.

I think this is more of implementation detail and not useful to an end-user.

Comment on lines 313 to 319
* <h3>Runner specific features</h3>
*
* Google Cloud Dataflow supports additional management features for {@code Managed} including
* automatically upgrading transforms to the latest supported version. For more details and
* examples, please see <a href="https://cloud.google.com/dataflow/docs/guides/managed-io">Dataflow
* managed I/O</a>.
*
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Makes sense. Reverted updates to this file.

@chamikaramj chamikaramj merged commit b76e45a into apache:master Mar 4, 2025
99 of 102 checks passed
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