Hi,
When I run all the actions in my Dataform workspace, some actions fail if the dataset does not already exist.
In the job results, I see this error message:
CREATE SCHEMA IF NOT EXISTS my-project.my_dataset OPTIONS(location=“EU”)
Exceeded rate limits: too many dataset metadata update operations for this dataset. For more information, see https://cloud.google.com/bigquery/docs/troubleshoot-quotas
This failed “CREATE SCHEMA” command results in the next part of the job that attempts to CREATE OR REPLACE the resource in this dataset not found error:
Not found: Dataset my-project:my_dataset was not found in location EU
My dataform model has 5 actions that do not have dependencies (views, operations like the creation of UDFs, and a table). I suspect this might be related to the issue.
This problem does not occur under the following conditions:
- If the dataset already exists, so the second execution succeeds.
- When I execute all actions using the Dataform CLI.
- When I add explicit dependencies between some of the initially independent actions.
Questions:
- How can I avoid this failure?
- I can’t find specific information about Exceeded rate limits: too many dataset metadata update operations for this dataset inhttps://cloud.google.com/bigquery/docs/troubleshoot-quotas. What does this limit mean?
Thanks for your help!