Skip to content

Conversation

@derrickaw
Copy link
Collaborator

Please add a meaningful description for your change here


Phase 3 of this document - https://s.apache.org/beam-yaml-it
#34611

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.

@derrickaw
Copy link
Collaborator Author

Run Python_PVR_Flink PreCommit

@derrickaw derrickaw marked this pull request as ready for review April 30, 2025 19:08
@github-actions
Copy link
Contributor

Assigning reviewers. If you would like to opt out of this review, comment assign to next reviewer:

R: @claudevdm for label python.
R: @Abacn for label java.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

The PR bot will only process comments in the main thread (not review comments).

@github-actions
Copy link
Contributor

github-actions bot commented May 8, 2025

Reminder, please take a look at this pr: @claudevdm @Abacn

Yields:
str: A JDBC connection string for the temporary MySQL database.
Example format:
"jdbc:mysql://<host>:<port>/<db_name>?
Copy link
Collaborator

Choose a reason for hiding this comment

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

Theres quite a lot of repetition for setting up all the jdbc compatible databases. Can we simplify it by using SqlAlcemy like in jdbcio tests

cls.engines[db_type] = sqlalchemy.create_engine(
?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Updated, thanks

@github-actions
Copy link
Contributor

Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment assign to next reviewer:

R: @damccorm for label python.
R: @robertwb for label java.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

@damccorm
Copy link
Contributor

waiting on author

@derrickaw
Copy link
Collaborator Author

Run Java Precommit

@derrickaw
Copy link
Collaborator Author

Seems like these failures are not related to this PR.

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.

Thanks - had one minor question, otherwise LGTM

permitUnusedDeclared 'com.google.cloud:alloydb-jdbc-connector:1.2.0'
testImplementation library.java.junit
testImplementation library.java.mockito_core
runtimeOnly ("org.xerial:sqlite-jdbc:3.49.1.0")
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be a testImplementation? Why do we need this?

Copy link
Collaborator Author

@derrickaw derrickaw May 21, 2025

Choose a reason for hiding this comment

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

  1. My understanding is that testImplementation is for tests inside the schemaio-expansion-service module. We need the runtimeOnly so that its packaged in the jar for use later.
  2. It contains the driver for connecting to the DB.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, that makes sense. I think the thing we're doing here is not really a test change FWIW, it is enabling JDBCIO to connect to a new kind of DB (this is exposing a new feature in x-lang mode).

I think this is ok since we are already packaging other drivers (e.g. com.microsoft.sqlserver:mssql-jdbc:12.2.0.jre11). The only real concern I would have is the size of the jar, which seems fine.

@shunping
Copy link
Collaborator

Any update on this?

@derrickaw derrickaw requested a review from damccorm May 27, 2025 18:48
@damccorm
Copy link
Contributor

Failures seem like flakes, so rerunning. If they pass, I will merge

@damccorm damccorm merged commit e22fdc1 into apache:master May 27, 2025
109 checks passed
@derrickaw derrickaw deleted the phase3aYamlIT branch May 27, 2025 19:40
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.

4 participants