Adding mapping for agent states
This commit is contained in:
parent
d06636b692
commit
5b5e923696
6
definitions/sources/MAPPING_AGENT_STATE.sqlx
Normal file
6
definitions/sources/MAPPING_AGENT_STATE.sqlx
Normal file
@ -0,0 +1,6 @@
|
||||
config {
|
||||
type: "declaration",
|
||||
schema: "pphe_five9_raw",
|
||||
name: "MAPPING_AGENT_STATE",
|
||||
description: ""
|
||||
}
|
||||
14
definitions/staging/stg_MAPPING_AGENT_STATE.sqlx
Normal file
14
definitions/staging/stg_MAPPING_AGENT_STATE.sqlx
Normal file
@ -0,0 +1,14 @@
|
||||
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")}
|
||||
Loading…
Reference in New Issue
Block a user