Skip to content

Move dryRun property to from query to configuration level. #2984

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 6, 2017

Conversation

daspecster
Copy link
Contributor

Fixes #2981

Sets dryRun at ['configuration']['dryRun'] rather than ['configuration']['query']['dryRun].

@daspecster daspecster 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 6, 2017
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 6, 2017
@dhermes
Copy link
Contributor

dhermes commented Feb 6, 2017

I'll defer to @tseaver here

@@ -31,7 +31,6 @@ class _SyncQueryConfiguration(object):
Values which are ``None`` -> server defaults.
"""
_default_dataset = None
_dry_run = None

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@@ -307,7 +307,6 @@ def test_run_w_alternate_client(self):
query.timeout_ms = 20000
query.use_query_cache = False
query.use_legacy_sql = True
query.dry_run = True

This comment was marked as spam.

@daspecster daspecster removed the request for review from dhermes February 6, 2017 17:48
@daspecster daspecster merged commit ec1776c into googleapis:master Feb 6, 2017
@daspecster daspecster deleted the fix-bigquery-dry-run branch February 6, 2017 18:24
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
…s#2984)

* Move dryRun property to from query to configuration level.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Development

Successfully merging this pull request may close these issues.

5 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy