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 — feat: allow queryJob.result() to be called on a dryRun by steffnay · Pull Request #1015 · googleapis/python-bigquery

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

Conversation

@steffnay

@steffnay steffnay commented Oct 11, 2021 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #1012 🦕

Sorry, something went wrong.

Uh oh!

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

All reactions
@steffnay
feat: allow queryJob.result() to be called on a dryRun
b43a733
@steffnay
steffnay requested review from a team and loferris October 11, 2021 21:45
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 11, 2021
@product-auto-label product-auto-label Bot added the api: bigquery Issues related to the googleapis/python-bigquery API. label Oct 11, 2021
tswast
tswast suggested changes Oct 11, 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.

I think we can simplify the tests a bit.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread tests/unit/job/test_query.py Resolved

Uh oh!

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

Comment thread tests/unit/job/test_query.py Resolved

Uh oh!

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

Comment thread tests/unit/job/test_query.py

calls = conn.api_request.mock_calls
self.assertEqual(result, None)
self.assertEqual(calls, [])

@tswast tswast Oct 11, 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.

Awesome! Thanks for checking that there were no API requests.

Sorry, something went wrong.

Uh oh!

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

All reactions
tswast
tswast reviewed Oct 12, 2021
View reviewed changes
Comment thread google/cloud/bigquery/job/query.py Resolved

Uh oh!

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

steffnay added 2 commits October 12, 2021 13:44
@steffnay
Merge branch 'main' of github.com:googleapis/python-bigquery into dry…
a6a859b
…_run_results
@steffnay
update to return EmptyRowIterator
39f75a9
@steffnay
steffnay requested a review from tswast October 12, 2021 21:38
tswast
tswast approved these changes Oct 13, 2021
View reviewed changes
@tswast
tswast merged commit 685f06a into googleapis:main Oct 13, 2021
@tswast

tswast commented Oct 13, 2021

Copy link
Copy Markdown
Contributor

Thanks @steffnay !

All reactions

Sorry, something went wrong.

Uh oh!

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

@release-please release-please Bot mentioned this pull request Jan 4, 2022
chore(main): release python-bigquery 1.27.1 #1097
Closed
abdelmegahedgoogle pushed a commit to abdelmegahedgoogle/python-bigquery that referenced this pull request Apr 17, 2023
@steffnay @abdelmegahedgoogle
feat: allow queryJob.result() to be called on a dryRun (googleapis#1015)
0742cf2
* feat: allow queryJob.result() to be called on a dryRun

* update to return EmptyRowIterator
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
@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.

feat: allow QueryJob.result() to be called on a dryRun query

Uh oh!

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

2 participants

@steffnay @tswast
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.