Commit e680572
authored
fix(bigquery-jdbc): fix shading exclusions and telemetry credentials (#13515)
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.1 parent b33249f commit e680572
2 files changed
Lines changed: 12 additions & 8 deletions
File tree
- java-bigquery-jdbc
- src/main/java/com/google/cloud/bigquery/jdbc
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
90 | 93 | | |
91 | 94 | | |
92 | 95 | | |
| |||
179 | 182 | | |
180 | 183 | | |
181 | 184 | | |
182 | | - | |
183 | | - | |
| 185 | + | |
| 186 | + | |
184 | 187 | | |
185 | 188 | | |
186 | 189 | | |
| |||
382 | 385 | | |
383 | 386 | | |
384 | 387 | | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
385 | 392 | | |
386 | 393 | | |
387 | 394 | | |
| |||
442 | 449 | | |
443 | 450 | | |
444 | 451 | | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | 452 | | |
451 | 453 | | |
452 | 454 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
213 | 215 | | |
214 | 216 | | |
215 | 217 | | |
| |||
0 commit comments