Skip to content

Check running status via 'job' property. #3005

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 1 commit into from
Feb 13, 2017
Merged

Check running status via 'job' property. #3005

merged 1 commit into from
Feb 13, 2017

Conversation

tseaver
Copy link
Contributor

@tseaver tseaver commented Feb 13, 2017

If the _job attribute is not set, but we have a jobId in our properties, we still don't want to re-run the query.

Closes #3003.

If the '_job' attribute is not set, but we have a 'jobId' in our properties,
we still don't want to re-run the query.

Closes #3003.
@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
@@ -351,7 +351,7 @@ def run(self, client=None):
:param client: the client to use. If not passed, falls back to the
``client`` stored on the current dataset.
"""
if self._job is not None:
if self.job is not None:

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@dhermes
Copy link
Contributor

dhermes commented Feb 13, 2017

LGTM

@tseaver tseaver merged commit ac612e6 into googleapis:master Feb 13, 2017
@tseaver tseaver deleted the 3003-bigquery-job_status_via_property branch February 13, 2017 20:54
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
…tus_via_property

Check running status via 'job' property.

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
Labels
api: bigquery Issues related to the BigQuery API. 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.

2 participants