通过 CLI 创建视图或 table 时出错:"Unexpected exception in mk operation: '_Make' object has no attribute 'partitioning_specification'"

Error creating a view or table via CLI : "Unexpected exception in mk operation: '_Make' object has no attribute 'partitioning_specification'"

我刚刚 运行 gcloud components update 现在无法通过 bq Python 命令行工具创建视图或 table。

它 returns 一个错误 Unexpected exception in mk operation: '_Make' object has no attribute 'partitioning_specification'

如何处理?

在最新版本中推出的 "bq" 工具中存在错误。

我们正在努力添加一些额外的测试来捕获此类错误。

同时,如果您遇到此错误并需要创建视图或table,请执行gcloud components restore恢复您以前版本的Google Cloud SDK。 =11=]

修复现已上线。您可以运行gcloud components update获取最新客户端。