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: sync v3 branch with main by plamut · Pull Request #947 · googleapis/python-bigquery

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

Conversation

@plamut

@plamut plamut commented Sep 6, 2021 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Bringing the v3 branch back to sync with main. There were quite a few merge conflicts, thus proceed carefully. 🐞

Should also fix the snippets test failure in #855.

Sorry, something went wrong.

Uh oh!

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

All reactions
tswast and others added 30 commits July 27, 2021 13:04
@tswast
chore: protect v3.x.x branch (googleapis#816)
3b70891
* chore: protect v3.x.x branch

In preparation for breaking changes.

* force pattern to be a string

* simplify branch name
@plamut
fix: no longer raise a warning in to_dataframe if max_results set (…
3c1be14
…googleapis#815)

That warning should only be used when BQ Storage client is
explicitly passed in to RowIterator methods when max_results
value is also set.
@gcf-owl-bot
feat: Update proto definitions for bigquery/v2 to support new proto f…
fe7a902
…ields for BQML. (googleapis#817)

PiperOrigin-RevId: 387137741

Source-Link: googleapis/googleapis@8962c92

Source-Link: https://github.com/googleapis/googleapis-gen/commit/102f1b4277cc5a049663535d9eeb77831b67de25
@release-please
chore: release 2.23.0 (googleapis#819)
02bbdae
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@renovate-bot
chore(deps): update dependency google-cloud-bigquery to v2.23.0 (goog…
42b66d3
…leapis#820)
@plamut
fix: insert_rows() accepts float column values as strings again (go…
d9378af
…ogleapis#824)
@release-please
chore: release 2.23.1 (googleapis#825)
a505440
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@tswast
chore: add second protection rule for v3 branch (googleapis#828)
c541c69
@renovate-bot
chore(deps): update dependency google-cloud-bigquery to v2.23.1 (goog…
48e8a35
…leapis#827)
@tswast
test: retry getting rows after streaming them in `test_insert_rows_fr…
d8c25ac
…om_dataframe` (googleapis#832)
@renovate-bot
chore(deps): update dependency pyarrow to v5 (googleapis#834)
8149d9e
@renovate-bot
chore(deps): update dependency google-cloud-bigquery-storage to v2.6.2 (
b9349ad
googleapis#795)
@plamut
deps: expand pyarrow pins to support 5.x releases (googleapis#833)
80e3a61
@release-please
chore: release 2.23.2 (googleapis#835)
40ef77f
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@renovate-bot
chore(deps): update dependency google-auth-oauthlib to v0.4.5 (google…
55687b8
…apis#839)
@renovate-bot
chore(deps): update dependency google-cloud-bigquery to v2.23.2 (goog…
85ce81c
…leapis#838)
@renovate-bot
chore(deps): update dependency google-cloud-testutils to v1 (googleap…
20df24b
…is#845)
@busunkim96
chore: require CODEOWNER review and up to date branches (googleapis#846)
7016f69
These two lines bring the rules on this repo in line with the defaults:

https://github.com/googleapis/repo-automation-bots/blob/63c858e539e1f4d9bb8ea66e12f9c0a0de5fef55/packages/sync-repo-settings/src/required-checks.json#L40-L50
@busunkim96
chore: add api-bigquery as a samples owner (googleapis#852)
cf0b0d8
@tswast
fix: increase default retry deadline to 10 minutes (googleapis#859)
30770fd
The backend API has a timeout of 4 minutes, so the default of 2 minutes was not
allowing for any retries to happen in some cases.

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-bigquery/issues/new/choose) 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)

Fixes googleapis#853  🦕
@plamut
process: add yoshi-python to samples CODEOWNERS (googleapis#858)
e2cbcaa
Closes googleapis#857.
@release-please @tswast
chore: release 2.23.3 (googleapis#860)
9694a4d
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Tim Swast <[email protected]>
@renovate-bot
chore(deps): update dependency google-cloud-bigquery to v2.23.3 (goog…
9c6614f
…leapis#866)

[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [google-cloud-bigquery](https://togithub.com/googleapis/python-bigquery) | `==2.23.2` -> `==2.23.3` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery/2.23.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery/2.23.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery/2.23.3/compatibility-slim/2.23.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery/2.23.3/confidence-slim/2.23.2)](https://docs.renovatebot.com/merge-confidence/) |

***

### Release Notes

<details>
<summary>googleapis/python-bigquery</summary>

### [`v2.23.3`](https://togithub.com/googleapis/python-bigquery/blob/master/CHANGELOG.md#​2233-httpswwwgithubcomgoogleapispython-bigquerycomparev2232v2233-2021-08-06)

[Compare Source](https://togithub.com/googleapis/python-bigquery/compare/v2.23.2...v2.23.3)

</details>

***

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

***

*   \[ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

***

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/python-bigquery).
@plamut
feat: add support for transaction statistics (googleapis#849)
7f7b1a8
* feat: add support for transaction statistics

* Hoist transaction_info into base job class

* Add versionadded directive to new property and class

* Include new class in docs reference
@renovate-bot
chore(deps): update dependency google-cloud-bigquery-storage to v2.6.3 (
443b8ab
googleapis#863)

[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [google-cloud-bigquery-storage](https://togithub.com/googleapis/python-bigquery-storage) | `==2.6.2` -> `==2.6.3` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery-storage/2.6.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery-storage/2.6.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery-storage/2.6.3/compatibility-slim/2.6.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery-storage/2.6.3/confidence-slim/2.6.2)](https://docs.renovatebot.com/merge-confidence/) |

***

### Release Notes

<details>
<summary>googleapis/python-bigquery-storage</summary>

### [`v2.6.3`](https://togithub.com/googleapis/python-bigquery-storage/blob/master/CHANGELOG.md#​263-httpswwwgithubcomgoogleapispython-bigquery-storagecomparev262v263-2021-08-06)

[Compare Source](https://togithub.com/googleapis/python-bigquery-storage/compare/v2.6.2...v2.6.3)

</details>

***

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

***

*   \[x] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

***

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/python-bigquery).
@gcf-owl-bot
chore: fix INSTALL_LIBRARY_FROM_SOURCE in noxfile.py (googleapis#869)
aee814c
Source-Link: googleapis/synthtool@6252f2c
Post-Processor: gcr.io/repo-automation-bots/owlbot-python:latest@sha256:50e35228649c47b6ca82aa0be3ff9eb2afce51c82b66c4a03fe4afeb5ff6c0fc

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@plamut
feat: make the same Table* instances equal to each other (googleapi…
c1a3d44
…s#867)

* feat: make the same Table instances equal to each other

* Table equality should ignore metadata differences

* Compare instances through tableReference property

* Make Table instances hashable

* Make Table* classes interchangeable

If these classes reference the same table, they are now considered equal.
@tswast
feat: support ScalarQueryParameterType for type_ argument in `Sca…
93d15e2
…larQueryParameter` constructor (googleapis#850)

Follow-up to https://github.com/googleapis/python-bigquery/pull/840/files#r679880582

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-bigquery/issues/new/choose) 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)
Jim Fulton
feat: retry failed query jobs in result() (googleapis#837)
519d99c
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [x] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-bigquery/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [x] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)

Fixes googleapis#539  🦕

Previously, we only retried failed API requests. Now, we retry failed jobs (according to the predicate of the `Retry` object passed to `job.result()`).
@grimmerk @tswast @tseaver
fix: make unicode characters working well in load_table_from_json (go…
ad9c802
…ogleapis#865)

Co-authored-by: Tim Swast <[email protected]>
Co-authored-by: Tres Seaver <[email protected]>
@plamut
plamut requested review from a team, jimfulton and tswast September 6, 2021 21:33
@product-auto-label product-auto-label Bot added the api: bigquery Issues related to the googleapis/python-bigquery API. label Sep 6, 2021
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 6, 2021
@plamut
Remove unneeded file
ab7b2c0
@plamut plamut added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 6, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 6, 2021
@tseaver

tseaver commented Sep 7, 2021

Copy link
Copy Markdown
Contributor

@plamut Is the target branch for this PR supposed to be v3?

All reactions

Sorry, something went wrong.

Uh oh!

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

@plamut
plamut changed the base branch from main to v3 September 7, 2021 14:30
@plamut
plamut requested a review from a team as a code owner September 7, 2021 14:30
@plamut
plamut requested a review from engelke September 7, 2021 14:30
@snippet-bot

snippet-bot Bot commented Sep 7, 2021 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Here is the summary of changes.

You are about to add 2 region tags.
  • docs/usage/pandas.rst:71, tag bigquery_query_results_geodataframe
  • samples/geography/to_geodataframe.py:21, tag bigquery_query_results_geodataframe

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment
All reactions

Sorry, something went wrong.

Uh oh!

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

@plamut

plamut commented Sep 7, 2021

Copy link
Copy Markdown
Contributor Author

@tseaver Yes, and thanks for noticing this bummer.

All reactions

Sorry, something went wrong.

Uh oh!

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

tswast
tswast approved these changes Sep 8, 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.

That's quite the diff! Other than a suggestion for noxfile.py, this looks good to me.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread google/cloud/bigquery/_helpers.py Resolved

Uh oh!

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

Comment thread noxfile.py Resolved

Uh oh!

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

@tswast tswast added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Sep 8, 2021
@tswast

tswast commented Sep 8, 2021

Copy link
Copy Markdown
Contributor

Adding Do Not Merge just so you see the noxfile.py suggestion. Once you've addressed that, this looks good to merge.

All reactions

Sorry, something went wrong.

Uh oh!

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

@plamut
Remove unneeded legacy pyarrow import in noxfile
4e3cc04
@plamut plamut removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Sep 9, 2021
@google-cla

google-cla Bot commented Sep 9, 2021

Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

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

@google-cla google-cla Bot added cla: no This human has *not* signed the Contributor License Agreement. and removed cla: yes This human has signed the Contributor License Agreement. labels Sep 9, 2021
@plamut

plamut commented Sep 9, 2021 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor Author

@tswast Thanks for going through this.

The diff was large, indeed, thus we should probably do these syncs more frequently (I'm thinking at least once a week). Even just fixing the merge conflicts took quite some time, not to mention that those are prone to accidentally introducing bugs.

Could you please just flip the CLA label? It seems that the bot dislikes one of the multi-author commits.

tswast reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

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

@tswast tswast added cla: yes This human has signed the Contributor License Agreement. and removed cla: no This human has *not* signed the Contributor License Agreement. labels Sep 9, 2021
@tswast tswast mentioned this pull request Sep 9, 2021
feat: repr of QueryJob (and other jobs) should include job reference info (project ID, location, job ID) #958
Closed
@tswast

tswast commented Sep 9, 2021

Copy link
Copy Markdown
Contributor

I triggered a rebuild of the Kokoro prerelease-deps job and filed #958 to allow us to have enough info to investigate these flakes further.

All reactions

Sorry, something went wrong.

Uh oh!

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

@tswast
tswast merged commit 2cb1c21 into googleapis:v3 Sep 9, 2021
@plamut
plamut deleted the sync-with-main branch September 9, 2021 17:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@jimfulton jimfulton Awaiting requested review from jimfulton
@engelke engelke Awaiting requested review from engelke
1 more reviewer
@tswast tswast tswast 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.

7 participants

@plamut @tseaver @tswast @yoshi-kokoro @renovate-bot @busunkim96 @grimmerk
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.