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

[yaml] add mysql, oracle, postgres and sql server providers #33124

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Polber
Copy link
Contributor

@Polber Polber commented Nov 14, 2024

PR adds standalone SchemaTransform Providers for the specific implementations of JDBC (MySQL, PostgreSQL, Oracle and SQL Server).

This was already simulated in the Beam YAML framework, but by implementing concrete providers, other SDKs can take advantage of the pre-packaged drivers (Python and Go SDKs). This also allows for specific doc generation specific to an implementation.

More detailed docs were also added.


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.

@Polber
Copy link
Contributor Author

Polber commented Nov 14, 2024

R: @robertwb

@Polber
Copy link
Contributor Author

Polber commented Nov 14, 2024

R: @damccorm

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

@Polber Polber force-pushed the jkinard/jdbc-docs branch 2 times, most recently from e30d1dc to 8056a10 Compare November 14, 2024 21:49
Copy link
Contributor

@damccorm damccorm left a comment

Choose a reason for hiding this comment

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

Mostly lgtm, just one lingering comment

@damccorm
Copy link
Contributor

LGTM other than checks failing

@Polber Polber force-pushed the jkinard/jdbc-docs branch 2 times, most recently from 1d3e677 to fd7b354 Compare December 4, 2024 01:18
Copy link
Contributor

@damccorm damccorm left a comment

Choose a reason for hiding this comment

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

Looks like several precommits are still red

```
- type: MyTransform
config:
...
Copy link
Contributor

Choose a reason for hiding this comment

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

/runner/_work/beam/beam/sdks/python/test-suites/tox/pycommon/build/srcs/sdks/python/target/.tox-docs/docs/lib/python3.9/site-packages/apache_beam/yaml/generate_yaml_docs.py:docstring of apache_beam.yaml.generate_yaml_docs.add_transform_links:11: ERROR: Unexpected indentation.

from docs precommit

Signed-off-by: Jeffrey Kinard <[email protected]>
Signed-off-by: Jeffrey Kinard <[email protected]>
Signed-off-by: Jeffrey Kinard <[email protected]>
Signed-off-by: Jeffrey Kinard <[email protected]>
Signed-off-by: Jeffrey Kinard <[email protected]>
@Polber Polber force-pushed the jkinard/jdbc-docs branch 2 times, most recently from f615d16 to d55eb7b Compare December 26, 2024 21:25
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