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 — Return int from 'total_rows'/'total_bytes_processed', if present. by tseaver · Pull Request #3007 · googleapis/google-cloud-python

Conversation

@tseaver

@tseaver tseaver commented Feb 13, 2017

Copy link
Copy Markdown
Contributor

The first commit adds explicit unit test coverage for the scalar properties of Query (previously covered implicitly via tests of other methods).

The second commit adds the convert-to-int logic, because the back-end is marshalling integers as JSON-be-damned strings.

Closes #3004.

Sorry, something went wrong.

Uh oh!

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

All reactions
tseaver added 2 commits February 13, 2017 15:42
@tseaver
Add explict tests for Query's scalar properties.
cefe717
@tseaver
Return int from 'total_rows'/'total_bytes_processed', if present.
141b586
Closes #3004.
@tseaver tseaver added api: bigquery Issues related to the BigQuery API. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Feb 13, 2017
@tseaver
tseaver requested review from daspecster and dhermes February 13, 2017 20:52
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 13, 2017
@tseaver
tseaver merged commit 5d5c2f7 into googleapis:master Feb 13, 2017
@tseaver

tseaver commented Feb 13, 2017

Copy link
Copy Markdown
Contributor Author

Crap, that was the wrong PR. Can I get a post-facto review, or should I revert?

All reactions

Sorry, something went wrong.

Uh oh!

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

dhermes
dhermes reviewed Feb 13, 2017
View reviewed changes
Comment thread bigquery/unit_tests/test_query.py
query = self._make_one(self.QUERY, client)
self.assertIsNone(query.name)

def test_name_broken_job_reference(self):

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

@dhermes dhermes mentioned this pull request Feb 24, 2017
Upgrading all versions for umbrella release. #3068
Merged
19 tasks done
@tseaver
tseaver deleted the 3004-bigquery-total_rows_integer branch March 15, 2017 18:59
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
@tseaver
Merge pull request googleapis#3007 from tseaver/3004-bigquery-total_r…
f7911b4
…ows_integer

 Return int from 'total_rows'/'total_bytes_processed', if present.

Merging without waiting for the speech fix to land.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@daspecster daspecster Awaiting requested review from daspecster
1 more reviewer
@dhermes dhermes dhermes 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 BigQuery API. cla: yes This human has signed the Contributor License Agreement. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

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

@tseaver @dhermes @googlebot
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.