[英]Cannot run query: project does not have the reservation in the data region - for a few minutes after removing the reservation
I am using flexible reservations for bigquery and turn them on/off for larger jobs.我正在为 bigquery 使用灵活的预留,并为更大的工作打开/关闭它们。 However after turning them off and (somewhere else) a query is started, it will fail with the "Cannot run query: project does not have the reservation in the data region" error.但是,在关闭它们并(在其他地方)启动查询后,它将失败并出现“无法运行查询:项目在数据区域中没有保留”错误。 This happens for about 20 seconds, and then everything works fine.这种情况会持续大约 20 秒,然后一切正常。
What I do for turning flex reservations on is:我为打开弹性预订所做的是:
What I do for turning flex reservations off is:我为关闭弹性预订所做的是:
Is this normal behaviour?这是正常行为吗? Is there anything in the removement procedure that can be done to avoid this?移除过程中有什么可以避免的吗?
You can do the following to prevent that issue.您可以执行以下操作来防止出现该问题。
I tested this and it worked for me.我对此进行了测试,它对我有用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.