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