Skip to content

feat: BigQuery Storage v1beta1 API migration guide#4352

Open
benhxy wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
benhxy:bqstore-v1b1
Open

feat: BigQuery Storage v1beta1 API migration guide#4352
benhxy wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
benhxy:bqstore-v1b1

Conversation

@benhxy

@benhxy benhxy commented Jun 22, 2026

Copy link
Copy Markdown

Description

Fixes b/505001153. BigQuery Storage team is planning to deprecate v1beta1 API. This PR adds a migration guide from v1beta1 to v1.

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Checklist

  • I have followed guidelines from CONTRIBUTING.MD and Samples Style Guide
  • Tests pass: npm test (see Testing)
  • Lint pass: npm run lint (see Style)
  • Required CI tests pass (see CI testing)
  • These samples need a new API enabled in testing projects to pass (let us know which ones)
  • These samples need a new/updated env vars in testing projects set to pass (let us know which ones)
  • This pull request is from a branch created directly off of GoogleCloudPlatform/nodejs-docs-samples. Not a fork.
  • This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample
  • This sample adds a new sample directory, and I created GitHub Actions workflow for this sample
  • This sample adds a new Product API, and I updated the Blunderbuss issue/PR auto-assigner with the codeowners for this sample
  • Please merge this PR for me once it is approved

Note: Any check with (dev), (experimental), or (legacy) can be ignored and should not block your PR from merging (see CI testing).

@benhxy benhxy requested review from a team as code owners June 22, 2026 15:50
@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Jun 22, 2026

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request introduces migration guides for transitioning the BigQuery Storage API from v1beta1 to v1 in JavaScript and TypeScript. The review feedback suggests adding safety checks in the JavaScript guide to prevent potential runtime errors when accessing streams, and correcting code comments in both guides that incorrectly reference a rowCount property on avroRows instead of the top-level response object.

Comment thread bigquery/cloud-client/storage-v1beta1-migration-guide-js.md Outdated
Comment thread bigquery/cloud-client/storage-v1beta1-migration-guide-js.md
Comment thread bigquery/cloud-client/storage-v1beta1-migration-guide-ts.md
@benhxy benhxy changed the title BigQuery Storage API v1beta1 migration guide feat: BigQuery Storage API v1beta1 migration guide Jun 22, 2026
@benhxy benhxy changed the title feat: BigQuery Storage API v1beta1 migration guide feat: BigQuery Storage v1beta1 API migration guide Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant