标签: google-bigquery
有没有办法在Bigquery中以编程方式创建数据集?我正在测试一些东西,需要动态创建一些数据集。
答案 0 :(得分:2)
是的,可以使用API
https://developers.google.com/bigquery/docs/reference/v2/datasets/insert
答案 1 :(得分:1)
BigQuery 现在支持 CREATE/ALTER/DROP SCHEMA 语句。请检查文件: https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_schema_statement
https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#alter_schema_set_options_statement
https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_schema_statement