Adding mapping MAPPING_CAMPAIGN_ID_TYPE

This commit is contained in:
Anna Saiapina 2024-02-28 14:18:25 +00:00 committed by GCP Dataform
parent e57c5346e6
commit cdf6725c1b
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,6 @@
config {
type: "declaration",
schema: "pphe_five9_raw",
name: "MAPPING_CAMPAIGN_ID_TYPE",
description: ""
}

View File

@ -0,0 +1,14 @@
config {
type: "table",
schema: "pphe_five9_stg",
assertions: {
uniqueKey: ["CAMPAIGN_ID"],
nonNull: ["CAMPAIGN_ID"]
},
tags: ["daily"],
description: "Daily load of MAPPING_CAMPAIGN_ID_TYPE table from raw"
}
select
*
from ${ref("MAPPING_CAMPAIGN_ID_TYPE")}