This repository was archived by the owner on Aug 31, 2022. It is now read-only.
Commit 8d82f16
committed
Reload BigQuery job after it is done in order to correctly capture errors.
In the case where a BigQuery job fails immediately (e.g. bucket does not exist in GCS) the job is never reloaded, and errors are lost.
In this case the job is treated as DONE, whilst the returned JobInfo may still report that the job is RUNNING.
By reloading the job after it is DONE, errors are captured and the true state of the job is returned from the library.1 parent b24d7c5 commit 8d82f16
File tree
1 file changed
+1
-0
lines changed- contrib/flo-bigquery/src/main/java/com/spotify/flo/contrib/bigquery
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| |||
0 commit comments