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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update queryAsStream_ to set options with Query type #999

Merged
merged 7 commits into from Oct 12, 2021

Conversation

steffnay
Copy link
Contributor

@steffnay steffnay commented Aug 28, 2021

This ensures query options that are provided within the single Query type parameter are properly set, which will allow the wrapIntegers option to work with streaming.

  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #947 馃

@steffnay steffnay requested a review from a team August 28, 2021 19:43
@steffnay steffnay requested a review from a team as a code owner August 28, 2021 19:43
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Aug 28, 2021
@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/nodejs-bigquery API. label Aug 28, 2021
@steffnay steffnay added the owlbot:run Add this label to trigger the Owlbot post processor. label Aug 28, 2021
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Aug 28, 2021
Copy link
Contributor

@JustinBeckwith JustinBeckwith left a comment

Choose a reason for hiding this comment

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

This generally looks ok due to the extend below, but it doesn't really match the pattern elsewhere in the library. I'd love to see 2 things here:

  1. a comment above line 2011 that explains why this is different
  2. a test that validates the fix you're making so it doesn't regress

@steffnay steffnay added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 10, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 10, 2021
@steffnay steffnay added the owlbot:run Add this label to trigger the Owlbot post processor. label Oct 11, 2021
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Oct 11, 2021
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 googleapis/nodejs-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.

Is it possible to get numbers as strings when streaming results?
5 participants