我正在使用nodejs客户端在bigquery中创建临时数据集.当我完成任务时,我想删除此数据集.我按照bigquery文档中的代码执行它非常简单.
// Creates a reference to the existing dataset
const dataset = bigquery.dataset(datasetId);
// Deletes the dataset
dataset
.delete()
.then(() => {
console.log(`Dataset ${dataset.id} deleted.`);
})
.catch(err => {
console.error('ERROR:', err);
});
Run Code Online (Sandbox Code Playgroud)
我收到一个错误:Dataset xxx:5a58b519a3192fa942c57918仍在使用中
| 归档时间: |
|
| 查看次数: |
86 次 |
| 最近记录: |