Bigquery Python API: 创建带有注释的 table

Bigquery Python API: create table with comments

我目前每天使用 Python API 创建分片 table。

有没有办法在创建 table 时为 table 的列添加注释?我在文档中看不到它,但它可能仍会实现。

提前致谢。

从 REST API for BigQuery documentation,tables.Insert 获取 table 资源,并且在 schema.fields[].description 属性 中,您可以写个描述。