Skip to content

Revert "Revert "Merge pull request #15863 from [BEAM-13184] Autoshard… - #16579

Merged
pabloem merged 3 commits into
apache:masterfrom
pabloem:jdbcio-ash
Jan 28, 2022
Merged

Revert "Revert "Merge pull request #15863 from [BEAM-13184] Autoshard…#16579
pabloem merged 3 commits into
apache:masterfrom
pabloem:jdbcio-ash

Conversation

@pabloem

@pabloempabloem commented Jan 20, 2022

Copy link
Copy Markdown
Member

…ing for JdbcIO.write* transforms""

This change had been reverted because a previous change ignored a batchSize parameter, which caused a few tests to fail. We rolled back, fixed, and rolled forward the change.

This reverts commit 421bc80.

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:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • 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.

ValidatesRunner compliance status (on master branch)

LangULRDataflowFlinkSamzaSparkTwister2
Go---Build StatusBuild StatusBuild StatusBuild Status---
JavaBuild StatusBuild Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Python---Build Status
Build Status
Build Status
Build Status
Build Status
Build StatusBuild Status---
XLangBuild StatusBuild StatusBuild StatusBuild StatusBuild Status---

Examples testing status on various runners

LangULRDataflowFlinkSamzaSparkTwister2
Go---------------------
Java---Build Status
Build Status
Build Status
---------------
Python---------------------
XLang---------------------

Post-Commit SDK/Transform Integration Tests Status (on master branch)

GoJavaPython
Build StatusBuild StatusBuild Status
Build Status
Build Status

Pre-Commit Tests Status (on master branch)

---JavaPythonGoWebsiteWhitespaceTypescript
Non-portableBuild Status
Build Status
Build Status
Build Status
Build Status
Build StatusBuild StatusBuild StatusBuild Status
Portable---Build StatusBuild Status---------

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests

See CI.md for more information about GitHub Actions CI.

@pabloem

Copy link
Copy Markdown
MemberAuthor

Run Python 3.8 PostCommit

@pabloem

Copy link
Copy Markdown
MemberAuthor

Run Python 3.8 PostCommit

@pabloem

Copy link
Copy Markdown
MemberAuthor

Run Java PreCommit

@pabloem

Copy link
Copy Markdown
MemberAuthor

@pabloem

Copy link
Copy Markdown
MemberAuthor

Run Java PostCommit

@pabloem

Copy link
Copy Markdown
MemberAuthor

@chamikaramj PTAL

@aromanenko-dev

Copy link
Copy Markdown
Contributor

Sorry if I missed that but what is a reason to revert it?

@pabloem

Copy link
Copy Markdown
MemberAuthor

hey @aromanenko-dev - this change had broken xlang_jdbcio_it_test. Since the release cut was coming up, and I did not mind waiting until the next release, I decided to revert it and remake the change while ensuring xlang_jdbcio_it_test would pass

@aromanenko-dev

Copy link
Copy Markdown
Contributor

Run Java PostCommit

@aromanenko-devaromanenko-dev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey @pabloem, thanks for details. LGTM

this change had broken xlang_jdbcio_it_test

Do you know what is a cause of this? Can it be fixed?

@chamikaramj

Copy link
Copy Markdown
Contributor

Thanks. LGTM.

Could you clarify the diff between this and the original PR in the PR description ?

@aromanenko-dev I think this includes the fix.

@pabloem

Copy link
Copy Markdown
MemberAuthor

what happened is that the previous change ignored the batchSize parameter, and one of the python tests was verifying the batch size, which is interesting. This change now continues to respect the batchSize parameter

@pabloem

Copy link
Copy Markdown
MemberAuthor

thanks both!

@pabloem
pabloem merged commit e18e2b9 into apache:masterJan 28, 2022
@pabloem
pabloem deleted the jdbcio-ash branch January 28, 2022 03:41
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@pabloem@aromanenko-dev@chamikaramj