Adding mappings for csc

This commit is contained in:
Anna Saiapina 2024-11-21 15:18:20 +00:00 committed by GCP Dataform
parent 71cf8ad273
commit 66b23b0aea
6 changed files with 60 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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