我正在使用下面的 python 片段在 bigquery 的数据集中创建表。但是我无法找到一种方法来为表设置默认排序规则。
schema = client.schema_from_json(file_name)
table = bq.Table(table_id, schema=schema)
table.time_partitioning = bq.TimePartitioning(
type_=bq.TimePartitioningType.MONTH,
field=partition_field, )
table = client.create_table(table)
任何人都可以帮助设置默认排序规则吗?