Delete a bigquery table after all the steps in dataflow job have completed

你。 提交于 2021-02-08 08:42:19

问题


Is there a way to delete a bigquery table only after all the steps in a batch dataflow pipeline have succeeded?


回答1:


You can use DataflowPipelineJob.waitToFinish(...) to wait for your job to finish, check that the returned state was DONE, and then use the BigQuery API to delete the table.



来源:https://stackoverflow.com/questions/41774664/delete-a-bigquery-table-after-all-the-steps-in-dataflow-job-have-completed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!