Skip to content

Conversation

@shunping
Copy link
Collaborator

@shunping shunping commented Jun 25, 2025

fixes #35285
related to #35396

Temporarily add back the workaround for xlang tests because TIMESTAMP field is present in the test table.

"f_timestamp TIMESTAMP(3), f_decimal DECIMAL(10, 2), " +

PR #35243 covers the cases of DATE (with logical type JdbcDateType) and TIME (with logical type JdbcTimeType), but not TIMESTAMp (with logical type MillisInstant).

Successful run: https://github.com/apache/beam/actions/runs/15877192956/job/44767607815?pr=35428

@shunping
Copy link
Collaborator Author

cc'ed @akashorabek @Abacn

@shunping shunping self-assigned this Jun 25, 2025
@shunping shunping marked this pull request as ready for review June 25, 2025 13:52
@github-actions
Copy link
Contributor

Assigning reviewers:

R: @liferoad for label python.

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

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).

@shunping
Copy link
Collaborator Author

cc'ed @Amar3tto

@shunping shunping changed the title Fix post commit xlang Fix post commit xlang test failure Jun 25, 2025
@shunping shunping changed the title Fix post commit xlang test failure Fix post commit xlang jdbcio test failure Jun 25, 2025
@shunping shunping merged commit 6ac5009 into apache:master Jun 25, 2025
94 checks passed
@shunping shunping deleted the fix-post-commit-xlang branch June 26, 2025 13:14
shunping added a commit to shunping/beam that referenced this pull request Jun 27, 2025
* Temporary get the workaround back for TIMESTAMP field in jdbc.

* Trigger the post commit tests.
shunping added a commit to shunping/beam that referenced this pull request Jun 29, 2025
shunping added a commit that referenced this pull request Jul 17, 2025
* Another fix for jdbc timestamp logical type.

- Used schema registry directly if it exists.
- Fixed a bug on schema registry.
- Triggered post commit tests for jdbcio.
- Fixed failed tests and trigger dataflow test on xlang.
- Fix schema test by adding field description in named_fields_to_schema

* Apply yapf.

* Revert "Fix post commit xlang jdbcio test failure (#35428)"

This reverts commit 6ac5009.

* Enforce MilliInstant as the logical type for Timestamp in ReadFromJDBC.

* Fix a failed test on DECIMAL field.
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.

The PostCommit Python Xlang Gcp Direct job is flaky

3 participants