我正在尝试从BQ表中删除数据,昨天工作的语句今天停止工作,错误如下: delete from `project.my_dataset.my_table` where my_id='value'
Cannotset write disposition in jobs with DML statements
我正在使用BigQuery代码来使用bigquery.Client.query执行bigquery.Client.query sql命令。我得到的是不能在带有异常的作业中设置目标表。下面是我使用的Python代码 with open(query_file_name, mode="r") as query_file:
我正在编写Python代码,以便使用bigquery.Client.query执行BigQuery sql删除命令语句。我得到了Cannot set destination table in job with DML statements exception。在此之前,我可以很好地使用Selection语句,但在删除时会出错from google.cloud import bigquery</