Hi all,
I have the configuration below in my dataform.json file
@ms4446 Please help and thanks for always!
Solved! Go to Solution.
Handling datasets stored in multiple locations in GCP within Dataform can be challenging due to the current limitations of the platform. However, here are some potential workarounds and strategies you can consider:
Use the defaultLocation
property: Set the defaultLocation
property in the dataform.json
file to the location where the majority of your datasets reside. This sets the default location for all datasets in the project. However, this approach can be limiting if you need to work with datasets in multiple locations.
Separate Projects for Each Location: Consider creating separate Dataform projects for each GCP location. This way, you can set the defaultLocation
specific to each project, ensuring that each project is tailored to a specific location.
Data Transfer: If feasible, consider transferring datasets from one location to another within GCP, so they are all in the same location. This can be done using tools like gsutil
or BigQuery's transfer service.