You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cancel BigQuery job if block_until_done call times out or is interrupted (feast-dev#1699)
* Cancel job if to_bigquery is cancelled by user
Signed-off-by: Cody Lin <[email protected]>
* cancel job in _upload_entity_df_into_bq as well
Signed-off-by: Cody Lin <[email protected]>
* Fix _is_done logic?
Signed-off-by: Cody Lin <[email protected]>
* make cancel job code more readable
Signed-off-by: Cody Lin <[email protected]>
* move KeyboardInterrupt catch outside retry logic; fix retry logic
Signed-off-by: Cody Lin <[email protected]>
* make block_until_done public; add custom exception for BQJobStillRunning
Signed-off-by: Cody Lin <[email protected]>
* fix retry logic to catch specific exception
Signed-off-by: Cody Lin <[email protected]>
* Make retry params configurable; use finally clause to catch more cancellation cases
Signed-off-by: Cody Lin <[email protected]>
* Modify docstring
Signed-off-by: Cody Lin <[email protected]>
* Typo in docstring
Signed-off-by: Cody Lin <[email protected]>
* Fix lint
Signed-off-by: Cody Lin <[email protected]>
0 commit comments