Commit 7af63f7
fix error in BigQueryUtils when retrieving non existent avro field (apache#30720)
* dump the record schema in BigQueryUtils exception message for debugging purposes
* include the right test
* check if the field exists in the record before fetching it
* add test, restore previous exception message
* trigger V2 PostCommit as well1 parent 354dbb3 commit 7af63f7
File tree
4 files changed
+26
-3
lines changed- .github/trigger_files
- sdks/java/io/google-cloud-platform/src
- main/java/org/apache/beam/sdk/io/gcp/bigquery
- test/java/org/apache/beam/sdk/io/gcp/bigquery
4 files changed
+26
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
497 | 497 | | |
498 | 498 | | |
499 | 499 | | |
500 | | - | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
501 | 504 | | |
502 | 505 | | |
503 | 506 | | |
| |||
709 | 712 | | |
710 | 713 | | |
711 | 714 | | |
712 | | - | |
| 715 | + | |
| 716 | + | |
713 | 717 | | |
714 | 718 | | |
715 | 719 | | |
| |||
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1004 | 1004 | | |
1005 | 1005 | | |
1006 | 1006 | | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
1007 | 1023 | | |
1008 | 1024 | | |
1009 | 1025 | | |
| |||
0 commit comments