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 with main branch by tswast · Pull Request #822 · googleapis/python-bigquery

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

Conversation

@tswast

@tswast tswast commented Jul 27, 2021

Copy link
Copy Markdown
Contributor

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 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 #<issue_number_goes_here> 🦕

Sorry, something went wrong.

Uh oh!

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

All reactions
tswast and others added 4 commits July 27, 2021 13:04
@tswast
chore: protect v3.x.x branch (#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
…#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. (#817)

PiperOrigin-RevId: 387137741

Source-Link: googleapis/googleapis@8962c92

Source-Link: googleapis/googleapis-gen@102f1b4
@release-please
chore: release 2.23.0 (#819)
02bbdae
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@tswast
tswast requested review from a team and loferris and removed request for a team July 27, 2021 21:25
@product-auto-label product-auto-label Bot added the api: bigquery Issues related to the googleapis/python-bigquery API. label Jul 27, 2021
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Jul 27, 2021
@tswast
Merge remote-tracking branch 'upstream/v3' into tswast-master
83d6f07
@tswast

tswast commented Jul 27, 2021

Copy link
Copy Markdown
Contributor Author

I wonder if squashing is going to make resolving commits harder in the future? Ugh.

All reactions

Sorry, something went wrong.

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 Jul 27, 2021
@tswast

tswast commented Jul 27, 2021

Copy link
Copy Markdown
Contributor Author

Maybe we keep this PR open and periodically add merge commits so that we can resolve conflicts incrementally?

All reactions

Sorry, something went wrong.

Uh oh!

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

@tswast
tswast marked this pull request as draft July 27, 2021 21:49
@tseaver

tseaver commented Jul 27, 2021

Copy link
Copy Markdown
Contributor

Except for the fact that you just added branch protection to v3, it would be simpler to just rebase the v3 PR against current master periodically and force-push it.

All reactions

Sorry, something went wrong.

Uh oh!

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

@plamut

plamut commented Jul 28, 2021

Copy link
Copy Markdown
Contributor

+1 for merging/rebasing master changes periodically, since the merge conflicts will be smaller and easier to handle.

All reactions

Sorry, something went wrong.

Uh oh!

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

@plamut

plamut commented Jul 28, 2021 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Also, I'm not entirely comfortable with syncing changes from master without a prior review, since (semantically) incompatible changes can sneak in without warning in the form of a merge conflict (comment).

With that in mind it might actually be better to bring in the changes from master through merges in a from of PRs that need to be reviewed first (like this one). I'll open one such PR shortly.

Update: created. Was faster than tinkering with Tim's PR branch and to first send my changes there.

All reactions

Sorry, something went wrong.

Uh oh!

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

plamut
plamut reviewed Jul 28, 2021
View reviewed changes
Comment thread tests/unit/test_table.py
Comment on lines +2483 to +2486
@unittest.skipIf(
bigquery_storage is None, "Requires `google-cloud-bigquery-storage`"
)
@unittest.skipIf(pyarrow is None, "Requires `pyarrow`")

@plamut plamut Jul 28, 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.

This is what I was talking about, i.e. "semantic conflicts". We should be careful to not let these through, since they do not necessarily create loud merge conflicts.

It can get tricky :/

Sorry, something went wrong.

Uh oh!

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

All reactions

@tswast tswast Jul 28, 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.

Good catch!

Sorry, something went wrong.

Uh oh!

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

All reactions
@plamut plamut mentioned this pull request Jul 28, 2021
chore: merge recent changes from master #823
Merged
3 of 4 tasks
@plamut

plamut commented Jul 28, 2021

Copy link
Copy Markdown
Contributor

Maybe we keep this PR open and periodically add merge commits so that we can resolve conflicts incrementally?

After resolving several semantic conflicts myself in the related PR, I think it will be easier to not keep a PR open for too long, but instead incrementally accumulate the changes from master in the v3 branch. This will allow any maintainer to open (smaller) PRs against the common v3 branch, say, after their new non-trivial contributions have been merged into master.

For example, I knew I had to pay attention to redundant skipIf decorators, because it was my code, but might have overlooked semantic conflicts in other people's contributions. The authors probably know best how to bring their changes to the v3 branch.

All reactions

Sorry, something went wrong.

Uh oh!

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

@tswast tswast closed this Jul 28, 2021
@tswast
tswast deleted the tswast-master branch July 29, 2021 14:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@loferris loferris Awaiting requested review from loferris
1 more reviewer
@plamut plamut plamut left review comments
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. do not merge Indicates a pull request not ready for merge, due to either quality or timing.

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.

3 participants

@tswast @tseaver @plamut
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.