New mappings to the stg layer added
This commit is contained in:
parent
a359728fe7
commit
9388b345b4
14
definitions/staging/stg_MAPPING_AGENT_REASON_CODE.sqlx
Normal file
14
definitions/staging/stg_MAPPING_AGENT_REASON_CODE.sqlx
Normal 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")}
|
||||||
@ -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")}
|
|
||||||
14
definitions/staging/stg_MAPPING_AGENT_STATE_GROUP.sqlx
Normal file
14
definitions/staging/stg_MAPPING_AGENT_STATE_GROUP.sqlx
Normal 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")}
|
||||||
14
definitions/staging/stg_MAPPING_AGENT_STATE_GROUP_ID.sqlx
Normal file
14
definitions/staging/stg_MAPPING_AGENT_STATE_GROUP_ID.sqlx
Normal 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")}
|
||||||
14
definitions/staging/stg_MAPPING_AGENT_STATE_ID.sqlx
Normal file
14
definitions/staging/stg_MAPPING_AGENT_STATE_ID.sqlx
Normal 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")}
|
||||||
Loading…
Reference in New Issue
Block a user