Skip to content

fix(bigquery-jdbc): fix WriteAPI when running in restricted environment#13856

Open
logachev wants to merge 3 commits into
mainfrom
kirl/write_api_proxy
Open

fix(bigquery-jdbc): fix WriteAPI when running in restricted environment#13856
logachev wants to merge 3 commits into
mainfrom
kirl/write_api_proxy

Conversation

@logachev

Copy link
Copy Markdown
Contributor

JsonStreamWriter.Builder was not using Settings from WriteClient. As a result, in the restricted environment (e.g. proxy), it was unable to access BQ endpoint.

@logachev
logachev requested review from a team as code owners July 21, 2026 22:03

@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 updates BigQueryJdbcBulkInsertWriter to pass the BigQueryWriteClient instance when building the JsonStreamWriter. It also introduces a new unit test class, BigQueryJdbcBulkInsertWriterTest, to verify this initialization behavior. There are no review comments, so I have no feedback to provide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant