Add mappings for board properties

This commit is contained in:
Anna Saiapina 2024-07-22 13:52:58 +00:00 committed by GCP Dataform
parent a60be65267
commit 94bbbaf09c
4 changed files with 40 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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