GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore!: remove google.cloud.bigquery_v2 code by plamut · Pull Request #855 · googleapis/python-bigquery

This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Conversation

@plamut

@plamut plamut commented Aug 6, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Closes #814.

The first preview. Still need to address Model types, disable code generation, BigQuery ML classes...

PR checklist:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Aug 6, 2021
@product-auto-label product-auto-label Bot added the api: bigquery Issues related to the googleapis/python-bigquery API. label Aug 6, 2021
@plamut
plamut force-pushed the iss-814 branch 4 times, most recently from 386a8bf to bc48efc Compare August 13, 2021 12:56
@plamut
chore: remove google.cloud.bigquery_v2 code
6abb8c1
@plamut
plamut force-pushed the iss-814 branch 3 times, most recently from 04562dd to 363eef5 Compare August 20, 2021 09:56
plamut added 7 commits August 20, 2021 15:59
@plamut
Replace proto Sql type classes with manual ones
f57844f
@plamut
Enhance standard Sql model classes
a201188
@plamut
Adjust models code to proto classes removal
e2089b3
@plamut
Adjust Routines code to proto removals
c297281
@plamut
Adjust imports in samples code
c9acea2
@plamut
Adjust assertion in get routine sample test
24e3d48
@plamut
Include manual Sql types in docs
61e3a34
@plamut
plamut force-pushed the iss-814 branch from 363eef5 to 61e3a34 Compare August 20, 2021 14:15
plamut added 2 commits August 20, 2021 16:17
@plamut
Remove proto dependencies
ce755ab
@plamut
Omit the generated bigquery_v2 code altogether
199725f
@plamut
plamut marked this pull request as ready for review August 20, 2021 14:43
@plamut
plamut requested a review from a team August 20, 2021 14:43
@plamut
plamut requested a review from a team as a code owner August 20, 2021 14:43
@plamut
plamut requested review from a team, kurtisvg and stephaniewang526 August 20, 2021 14:43
@plamut

plamut commented Aug 20, 2021

Copy link
Copy Markdown
Contributor Author

This is now ready for review.

It's probably easier to review commit-by-commit, as I made the effort to keep commits mostly self-contained and independent from each other.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@plamut
plamut requested a review from tswast August 20, 2021 14:45
kurtisvg
kurtisvg approved these changes Aug 20, 2021
View reviewed changes

@kurtisvg kurtisvg left a comment

Copy link
Copy Markdown
Contributor

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 for /samples.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@tswast
Merge branch 'v3' into iss-814
946c45f
tswast
tswast reviewed Sep 17, 2021
View reviewed changes
Comment thread samples/tests/conftest.py
name="x",
data_type=bigquery_v2.types.StandardSqlDataType(
type_kind=bigquery_v2.types.StandardSqlDataType.TypeKind.INT64
data_type=bigquery.StandardSqlDataType(

@tswast tswast Sep 17, 2021

Copy link
Copy Markdown
Contributor

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.

Let's make sure we mention these changes to Standard SQL types and enums in the migration guide. #960

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@plamut plamut Sep 20, 2021

Copy link
Copy Markdown
Contributor Author

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.

Definitely

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@plamut
Permanently remove unneded intersphinx links
cfba949
@plamut plamut added the owlbot:run Add this label to trigger the Owlbot post processor. label Sep 20, 2021
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Sep 20, 2021
gcf-owl-bot Bot and others added 2 commits September 20, 2021 14:28
@gcf-owl-bot
🦉 Updates from OwlBot
b497784
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
@plamut
Refactor SQL type classes to use _properties
8cd235d
plamut
plamut commented Sep 22, 2021
View reviewed changes
Comment thread google/cloud/bigquery/schema.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

plamut
plamut commented Sep 22, 2021
View reviewed changes
Comment thread google/cloud/bigquery/standard_sql.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

plamut added 2 commits September 23, 2021 13:28
@plamut
Remove validation logic from StandardSqlDataType
1b29ac2
Client-side validation logic can drift away from the server's, thus
we let the backend perform all validation of submitted request data.
@plamut
Refactor SQL models to use shared state
adcaa03
Modifying a sub-type should be automatically reflected on the parent
type referencing that subtype.
@plamut
plamut force-pushed the iss-814 branch from 510af0b to adcaa03 Compare September 23, 2021 12:41
@plamut
Add more informative string repr of SQL type
3db7ff3
@plamut

plamut commented Sep 23, 2021

Copy link
Copy Markdown
Contributor Author

@tswast Pushed the implementation changes early for preview, but there are now only a few coverage misses left, thus this is close to done.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

tswast
tswast reviewed Sep 23, 2021
View reviewed changes

@tswast tswast left a comment

Copy link
Copy Markdown
Contributor

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 once coverage is there, with some small nits re: setup.py and owlbot.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread docs/conf.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread setup.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

plamut added 2 commits September 24, 2021 10:34
@plamut
Bump test coverage to 100%
cf562ff
@plamut
Remove unneeded dataclasses dependency
026c05d
@plamut
plamut force-pushed the iss-814 branch from c15d628 to 026c05d Compare September 24, 2021 08:34
@plamut
plamut requested a review from tswast September 24, 2021 08:35
@plamut plamut mentioned this pull request Sep 27, 2021
Test TestBigQuery.test_transaction_info is flaky. #975
Closed
tswast
tswast approved these changes Sep 27, 2021
View reviewed changes
Comment thread google/cloud/bigquery/model.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@tswast
Update google/cloud/bigquery/model.py
01a02ff
@tswast

tswast commented Sep 27, 2021

Copy link
Copy Markdown
Contributor

Thanks!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@plamut plamut added automerge Merge the pull request once unit tests and other checks pass. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Sep 27, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 27, 2021
@gcf-merge-on-green
gcf-merge-on-green Bot merged commit a7842b6 into googleapis:v3 Sep 27, 2021
@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Sep 27, 2021
@plamut
plamut deleted the iss-814 branch September 28, 2021 14:49
@plamut plamut mentioned this pull request Oct 1, 2021
[Breaking Change] Remove google.cloud.bigquery_v2 directory and related code generation #814
Closed
6 tasks done
@tswast tswast mentioned this pull request Aug 15, 2022
chore: remove code generation for BQML proto files #1294
Merged
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@stephaniewang526 stephaniewang526 Awaiting requested review from stephaniewang526
2 more reviewers
@tswast tswast tswast approved these changes
@kurtisvg kurtisvg kurtisvg approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: bigquery Issues related to the googleapis/python-bigquery API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@plamut @tswast @kurtisvg @yoshi-kokoro
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.