close
Skip to content

BigQuery: Add 'max_results' param to 'QueryJob.result()'.#9167

Merged
tswast merged 2 commits intogoogleapis:masterfrom
shubha-rajan:bq-add-max-results-to-queryjob-result
Sep 4, 2019
Merged

BigQuery: Add 'max_results' param to 'QueryJob.result()'.#9167
tswast merged 2 commits intogoogleapis:masterfrom
shubha-rajan:bq-add-max-results-to-queryjob-result

Conversation

@shubha-rajan
Copy link
Copy Markdown
Contributor

First of 3 PRs towards resolving #9105 as described in review for #9147

@shubha-rajan shubha-rajan requested a review from a team September 3, 2019 21:06
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 3, 2019
Copy link
Copy Markdown
Contributor

@tswast tswast left a comment

Choose a reason for hiding this comment

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

I know it's a bit silly to do so, but let's add a unit test to the test_job.py module to make sure max_results works as expected.

@tseaver tseaver added the api: bigquery Issues related to the BigQuery API. label Sep 3, 2019
@tseaver tseaver changed the title BigQuery: added max_results param to QueryJob.result() BigQuery: Add 'max_results' param to 'QueryJob.result()'. Sep 3, 2019
Copy link
Copy Markdown
Contributor

@tswast tswast left a comment

Choose a reason for hiding this comment

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

Looks great, thanks!

@tswast tswast merged commit 27e7abd into googleapis:master Sep 4, 2019
emar-kar pushed a commit to MaxxleLLC/google-cloud-python that referenced this pull request Sep 11, 2019
* added max_results param to QueryJob.result()

* added test to check that max_results param appears in tabledata.list call arguments
emar-kar pushed a commit to MaxxleLLC/google-cloud-python that referenced this pull request Sep 18, 2019
* added max_results param to QueryJob.result()

* added test to check that max_results param appears in tabledata.list call arguments
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.

4 participants