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

feat: storage write api veneer #328

Merged

Conversation

alvarowolfx
Copy link
Contributor

This PR adds a layer on top of the GAPIC generated BigQuery Storage Write API client to make it easier to use. Some of the benefits of using the managed writer layer:

  • Automatic connection management.
  • Promise like interface to wait for writes.
  • Make easier to send protobufs. Do not require users to write an equivalent proto file and proto descriptor. A package is going to be added to convert a BigQuery Table Schema to a proto descriptor. More on feat: adapt package to convert TableSchema to ProtoDescriptor #326

Towards internal b/214063522
Supersedes #300

@product-auto-label product-auto-label bot added size: xl Pull request size is extra large. api: bigquerystorage Issues related to the googleapis/nodejs-bigquery-storage API. labels Feb 27, 2023
@alvarowolfx alvarowolfx added the owlbot:ignore instruct owl-bot to ignore a PR label Aug 1, 2023
@alvarowolfx alvarowolfx added owlbot:run Add this label to trigger the Owlbot post processor. and removed owlbot:ignore instruct owl-bot to ignore a PR labels Aug 2, 2023
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Aug 2, 2023
@alvarowolfx alvarowolfx requested review from feywind, alexander-fenster and loferris and removed request for alexander-fenster and feywind August 2, 2023 14:54
Copy link
Contributor

@loferris loferris left a comment

Choose a reason for hiding this comment

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

I have some outstanding questions about test coverage, that I noted, but otherwise LGTM.

@loferris loferris self-requested a review August 9, 2023 19:46
Copy link
Contributor

@loferris loferris left a comment

Choose a reason for hiding this comment

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

Questions resolved, LGTM.

@alvarowolfx alvarowolfx requested review from bcoe and feywind and removed request for feywind, alexander-fenster and bcoe August 10, 2023 14:20
Copy link

@feywind feywind left a comment

Choose a reason for hiding this comment

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

I trust Lo's review :)

@@ -0,0 +1,123 @@
// Copyright 2022 Google LLC
Copy link

Choose a reason for hiding this comment

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

You might have to change this to 2023 for the linter to like it.

@alvarowolfx alvarowolfx merged commit 146141e into googleapis:main Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquerystorage Issues related to the googleapis/nodejs-bigquery-storage API. size: xl Pull request size is extra large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants