-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Remove obsolete and deprecated bigquery native read. #23557
Conversation
Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control |
Thanks! Is there an GitHub Issue for the deprecation? If not could we create one and refer to it in CHANGES? |
Done. |
Codecov Report
@@ Coverage Diff @@
## master #23557 +/- ##
==========================================
- Coverage 73.46% 73.34% -0.12%
==========================================
Files 718 718
Lines 95935 95883 -52
==========================================
- Hits 70477 70327 -150
- Misses 24147 24245 +98
Partials 1311 1311
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
One thing I notice is that the removed I would recommend we mark The changes in EDIT: looks like tests for |
OK, I've left BigQueryReader for now, though technically it's really an internal-only class. We'll remove it later. Its only public entrypoint is already marked as deprecated since 2.11.0. (It didn't have any self-contained unit tests, and it didn't seem worth refactoring the other tests at this point.) |
Thanks for clarifying that this is an internal-only class. In this case I agree it is good time to remove it now. And I think better remove both than removing tests and leave the class alone. The commit |
The failure at apache_beam.runners.portability.flink_runner_test.FlinkRunnerTestOptimized.test_assert_that looks irrelevent. |
Run Python_PVR_Flink PreCommit |
03953e8
to
bbf3b81
Compare
Hi robertwb@, I meant I understand now the original approach (also remove bigquery_tools.BigQueryReader) makes sense to me than my first comment. Sorry for confusion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Defers to builtin read with a warning rather than raising an exception.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
R: @username
).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, commentfixes #<ISSUE NUMBER>
instead.CHANGES.md
with noteworthy changes.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)
See CI.md for more information about GitHub Actions CI.