Adding new mapping to raw and staging

This commit is contained in:
Anna Saiapina 2024-10-10 12:06:54 +00:00 committed by GCP Dataform
parent 068a393ee9
commit 1950c5865f
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,6 @@
config {
type: "declaration",
schema: "pphe_five9_raw",
name: "MAPPING_PRODUCTIVE_REVENUE",
description: ""
}

View File

@ -0,0 +1,14 @@
config {
type: "table",
schema: "pphe_five9_stg",
assertions: {
uniqueKey: ["STATE_ID", "REASON_CODE_ID"],
nonNull: ["STATE_ID", "REASON_CODE_ID"]
},
tags: ["daily"],
description: "Daily load of MAPPING_PRODUCTIVE_REVENUE table from raw"
}
select
*
from ${ref("MAPPING_PRODUCTIVE_REVENUE")}