数据流作业中的所有步骤完成后,删除bigquery表 [英] Delete a bigquery table after all the steps in dataflow job have completed

查看:59
本文介绍了数据流作业中的所有步骤完成后,删除bigquery表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只有在批处理数据流管道中的所有步骤都成功之后,才可以删除bigquery表吗?

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

推荐答案

您可以使用

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.

这篇关于数据流作业中的所有步骤完成后,删除bigquery表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆