Google BigQuery - 如何使用bq命令删除表格? [英] Google BigQuery - how to drop table with bq command?

查看:150
本文介绍了Google BigQuery - 如何使用bq命令删除表格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google BigQuery - bq命令使您能够创建,加载,查询和更改表。



我没有找到任何关于删除表的文档,很高兴知道如何做到这一点。



我发现bq工具更容易实现,而不是为每个命令编写python接口。



感谢。

解决方案

发现它: $ b bq rm -f -t data_set.table_name



-t表格
-f for force



太棒了工具。


Google BigQuery - bq command enable you to create, load, query and alter table.

I did not find any documentation regarding dropping table, will be happy to know how to do it.

I found the bq tool much easier to implement instead of writing python interface for each command.

Thanks.

解决方案

found it :

bq rm -f -t data_set.table_name

-t for table -f for force

great tool .

这篇关于Google BigQuery - 如何使用bq命令删除表格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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