Add CUSTOMER_ID
This commit is contained in:
parent
5b74df9817
commit
77e0b00c54
@ -2,8 +2,8 @@ config {
|
|||||||
type: "table",
|
type: "table",
|
||||||
schema: "pphe_five9_stg",
|
schema: "pphe_five9_stg",
|
||||||
assertions: {
|
assertions: {
|
||||||
uniqueKey: ["?"],
|
uniqueKey: ["CUSTOMER_ID"],
|
||||||
nonNull: ["?"]
|
nonNull: ["CUSTOMER_ID"]
|
||||||
},
|
},
|
||||||
tags: ["daily"],
|
tags: ["daily"],
|
||||||
description: "DIGITAL data with mappings"
|
description: "DIGITAL data with mappings"
|
||||||
@ -32,7 +32,8 @@ select dl.TIMESTAMP,
|
|||||||
s.SKILL_ID,
|
s.SKILL_ID,
|
||||||
dl.HANDLE_TIME,
|
dl.HANDLE_TIME,
|
||||||
dl.TRANSFERS_TO_SKILL,
|
dl.TRANSFERS_TO_SKILL,
|
||||||
dl.INTERACTIONS
|
dl.INTERACTIONS,
|
||||||
|
dl.CUSTOMER_ID
|
||||||
from ${ref("stg_DIGITAL_SOURCE")} dl
|
from ${ref("stg_DIGITAL_SOURCE")} dl
|
||||||
left join ${ref("stg_AGENT")} a
|
left join ${ref("stg_AGENT")} a
|
||||||
on dl.AGENT_ID = a.AGENT_ID
|
on dl.AGENT_ID = a.AGENT_ID
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user