New mappings to the stg layer added

This commit is contained in:
Anna Saiapina 2024-09-24 14:52:53 +00:00 committed by GCP Dataform
parent a359728fe7
commit 9388b345b4
5 changed files with 56 additions and 14 deletions

View File

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

View File

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

View File

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

View File

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

View File

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