Skip to content

chore(bigquery-jdbc): use BQ SDK defaults for HttpTransportOptions - #14760

Merged
logachev merged 1 commit into
mainfrom
kirl/sdk_default_httpoptions
Oct 26, 2026
Merged

logachev merged 1 commit into
mainfrom
kirl/sdk_default_httpoptions

Conversation

@logachev

Copy link
Copy Markdown
Contributor

Update JDBC driver to use defaults matching SDK defaults for HttpTransportOptions

@logachev
logachev requested review from a team as code owners October 23, 2026 22:07

@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 BigQueryJdbcProxyUtility.java to initialize the HttpTransportOptions builder using BigQueryOptions.getDefaultHttpTransportOptions().toBuilder(). Feedback indicates that this change is redundant and inefficient, as it unnecessarily creates intermediate objects compared to using HttpTransportOptions.newBuilder() directly.

@keshavdandeva keshavdandeva 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.

We should also update the documentation default value for timeout, I think right now it says 0

@logachev
logachev merged commit 08963ed into main Oct 26, 2026
207 of 209 checks passed
@logachev
logachev deleted the kirl/sdk_default_httpoptions branch October 26, 2026 18:36
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.

3 participants