Skip to content

Add 'QueryJob.results' method - #2321

Merged
tseaver merged 5 commits into
googleapis:masterfrom
tseaver:2083-bigquery-async_query_job-query_results
Sep 15, 2016
Merged

Add 'QueryJob.results' method#2321
tseaver merged 5 commits into
googleapis:masterfrom
tseaver:2083-bigquery-async_query_job-query_results

Conversation

@tseaver

Copy link
Copy Markdown
Contributor

Construct the instance using the job's properties, and bind it to the job.
Constructs a 'QueryResults' instance, bound to the job.
Closes#2083.
@tseavertseaver added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. api: bigquery Issues related to the BigQuery API. labels Sep 15, 2016
@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 15, 2016
@daspecster

Copy link
Copy Markdown
Contributor

Should there be something in the bigquery-usage doc about this?

@tswasttswast left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but I'll let someone more familiar with google-cloud-python approve.

raise ValueError('Pass one of: %s' ', '.join(self.ALLOWED))


class UDFResource(object):

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

self._job = None

@classmethod
def from_query_job(cls, job):

This comment was marked as spam.

@daspecsterdaspecster left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM pending Travis

@tseaver
tseaver merged commit a92d69f into googleapis:masterSep 15, 2016
@tseaver
tseaver deleted the 2083-bigquery-async_query_job-query_results branch September 15, 2016 20:02

class UDFResource(object):
"""Describe a single user-defined function (UDF) resource.
:type udf_type: str

This comment was marked as spam.

@tseavertseaver mentioned this pull request Sep 16, 2016
@dhermesdhermes mentioned this pull request Sep 19, 2016
parthea added a commit that referenced this pull request Nov 24, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigqueryIssues related to the BigQuery API.cla: yesThis human has signed the Contributor License Agreement.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@tseaver@daspecster@tswast@dhermes@googlebot