Skip to content
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

docs(bigquery): add sample to read from query destination table #9964

Merged
merged 1 commit into from
Dec 12, 2019

Conversation

tswast
Copy link
Contributor

@tswast tswast commented Dec 12, 2019

This sample addresses internal issue 134774673, in which we recieved
feedback that it's not clear how to paginate through the results of a
query. This sample shows that all completed queries have a destination
table, which can be read from with tabledata.list.

Note: The client library avoids the extra call to get_table if query
results are read directly from the QueryJob, but it's confusing to show
that we're able to get the schema from a private API call to
getQueryResults.

This sample addresses internal issue 134774673, in which we recieved
feedback that it's not clear how to paginate through the results of a
query. This sample shows that all completed queries have a destination
table, which can be read from with tabledata.list.

Note: The client library avoids the extra call to `get_table` if query
results are read directly from the QueryJob, but it's confusing to show
that we're able to get the schema from a private API call to
getQueryResults.
@tswast tswast requested a review from a team December 12, 2019 01:12
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 12, 2019
@tswast tswast added api: bigquery Issues related to the BigQuery API. and removed cla: yes This human has signed the Contributor License Agreement. labels Dec 12, 2019
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 12, 2019
Copy link
Contributor

@shollyman shollyman left a comment

Choose a reason for hiding this comment

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

Looks good. I wonder if we should do more in the public docset to make this clearer.

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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants