Skip to content

feat: BigQuery Storage v1beta1 API migration guide - #3338

Merged
amanda-tarafa merged 2 commits into
GoogleCloudPlatform:mainfrom
benhxy:v1beta1
Jul 17, 2026
Merged

feat: BigQuery Storage v1beta1 API migration guide#3338
amanda-tarafa merged 2 commits into
GoogleCloudPlatform:mainfrom
benhxy:v1beta1

Conversation

@benhxy

@benhxy benhxy commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

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

@benhxy
benhxy requested review from a team as code owners June 22, 2026 17:07
@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

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 a migration guide for transitioning the BigQuery Storage API from v1beta1 to v1 in C#. The feedback focuses on making the C# code examples more idiomatic and robust. Key suggestions include using the strongly-typed TableName class instead of a raw string path, clarifying how ReadRowsStream relates to IAsyncEnumerable, and using var to avoid type ambiguity with System.IO.Stream.

Comment thread bigquery-storage/api/BigQueryStorage.Samples/v1beta1-migration-guide.md Outdated
Comment thread bigquery-storage/api/BigQueryStorage.Samples/v1beta1-migration-guide.md Outdated
Comment thread bigquery-storage/api/BigQueryStorage.Samples/v1beta1-migration-guide.md Outdated
Comment thread bigquery-storage/api/BigQueryStorage.Samples/v1beta1-migration-guide.md Outdated
@benhxy
benhxy requested review from a team as code owners July 13, 2026 17:30

@amanda-tarafa amanda-tarafa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Curious, why didn't you added actual samples that can be build and tested (like the ones we have for write) and then get the guide to reference those samples, instead of the code directly on the markdown. I can do a quick review but nothing will beat a compiler and some tests :).

@amanda-tarafa amanda-tarafa self-assigned this Jul 14, 2026
@benhxy

benhxy commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

Hi @amanda-tarafa ~ The v1 sample already exists (https://github.com/GoogleCloudPlatform/dotnet-docs-samples/blob/main/bigquery-storage/api/BigQueryStorage.Samples/Quickstart.cs#L35). This markdown is intended to highlight the difference between v1beta1 and v1, so customers can follow it to migrate to v1. WDYT?

@amanda-tarafa

Copy link
Copy Markdown
Member

Yes, it's ultimate your decision, but I can't make sure that the code in the markdown is correct, and it may get obsolete over time, etc. I'll review and call out anything I see.

@benhxy benhxy added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 17, 2026
@amanda-tarafa amanda-tarafa added the kokoro:run Add this label to force Kokoro to re-run the tests. label Jul 17, 2026
@kokoro-team kokoro-team removed kokoro:run Add this label to force Kokoro to re-run the tests. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Jul 17, 2026
@amanda-tarafa
amanda-tarafa merged commit 8aadab8 into GoogleCloudPlatform:main Jul 17, 2026
14 checks passed
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.

3 participants