Skip to content

fix(bigquery-jdbc): fix shading exclusions and telemetry credentials#13515

Open
keshavdandeva wants to merge 2 commits into
jdbc/feature-branch-otelfrom
jdbc/otel-fix
Open

fix(bigquery-jdbc): fix shading exclusions and telemetry credentials#13515
keshavdandeva wants to merge 2 commits into
jdbc/feature-branch-otelfrom
jdbc/otel-fix

Conversation

@keshavdandeva

Copy link
Copy Markdown
Contributor

b/524234554

This PR fixes two issues in the OpenTelemetry implementation within the BigQuery JDBC driver:

  1. Shading/Relocation namespace exclusions: Corrects the API shading rules to recursively exclude nested OpenTelemetry API subpackages. This resolves dependency conflicts and AbstractMethodError crashes when client applications inject custom OTel SDK instances.
  2. Telemetry Credentials Resolution bug: Fixes an IllegalArgumentException thrown when parsing OAuth authentication types during zero-config credentials initialization.

@keshavdandeva keshavdandeva requested review from a team as code owners June 18, 2026 13:05

@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 the OpenTelemetry relocation exclusions in pom.xml to use double asterisks, and promotes the opentelemetry-sdk-logs dependency from test scope to compile scope. Additionally, in BigQueryJdbcOpenTelemetry.java, it replaces a hardcoded string value with a structured enum name BigQueryJdbcOAuthUtility.AuthType.GOOGLE_SERVICE_ACCOUNT.name() when setting the OAuth type property. There are no review comments, and 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