proof of concept of limiting dev result set

This commit is contained in:
Brady Wyllie 2025-08-19 14:39:32 +00:00 committed by GCP Dataform
parent 8ee763940c
commit 0ada58fca1
3 changed files with 9 additions and 3 deletions

View File

@ -46,4 +46,8 @@ Once the transformations have been successfully reviewed and promoted to Prod, t
* Gold Tables: gld_{destination_name} * Gold Tables: gld_{destination_name}
* e.g, gld_board * e.g, gld_board
New releases are deployed to Production on a weekly cadence to prevent excessive refreshing of large tables. New releases are deployed to Production on a weekly cadence to prevent excessive refreshing of large tables.
# todo:
* get git repo figured out
* create production release with compilation override variables: executionSetting = "pro"

View File

@ -5,4 +5,4 @@ config {
} }
SELECT SELECT
2 AS testfield 2 AS testfield ${when(dataform.projectConfig.vars.executionSetting === "dev", "LIMIT 0")}

View File

@ -2,4 +2,6 @@ defaultProject: pphe-data-dev
defaultLocation: EU defaultLocation: EU
defaultDataset: raw_dataform defaultDataset: raw_dataform
defaultAssertionDataset: raw_dataform defaultAssertionDataset: raw_dataform
dataformCoreVersion: 3.0.26 dataformCoreVersion: 3.0.26
vars:
executionSetting: dev