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