Add media type to calls report

This commit is contained in:
Anna Saiapina 2024-07-17 12:04:18 +00:00 committed by GCP Dataform
parent 7ed007094e
commit 5f9909a7d6

View File

@ -57,7 +57,8 @@ select sc.SESSION_ID,
sc.CALLS,
sc.ANI,
c.CAMPAIGN_TYPE_ID,
sc.CAMPAIGN_TYPE
sc.CAMPAIGN_TYPE,
"PHONE" MEDIA_TYPE_ID
from ${ref("stg_calls")} sc
left join ${ref("stg_AGENT")} a
on sc.AGENT_ID = a.AGENT_ID