Adding raw tables to staging
This commit is contained in:
parent
ee38452923
commit
ccd2a3517e
14
definitions/staging/stg_CALL_L30D.sqlx
Normal file
14
definitions/staging/stg_CALL_L30D.sqlx
Normal file
@ -0,0 +1,14 @@
|
||||
config {
|
||||
type: "table",
|
||||
schema: "pphe_five9_stg",
|
||||
assertions: {
|
||||
uniqueKey: ["ID"],
|
||||
nonNull: ["ID"]
|
||||
},
|
||||
tags: ["daily"],
|
||||
description: "Daily load of CALL_L30D table from raw"
|
||||
}
|
||||
|
||||
select
|
||||
*
|
||||
from ${ref("CALL_L30D")}
|
||||
14
definitions/staging/stg_DIGITAL_L30D.sqlx
Normal file
14
definitions/staging/stg_DIGITAL_L30D.sqlx
Normal file
@ -0,0 +1,14 @@
|
||||
config {
|
||||
type: "table",
|
||||
schema: "pphe_five9_stg",
|
||||
assertions: {
|
||||
uniqueKey: ["ID"],
|
||||
nonNull: ["ID"]
|
||||
},
|
||||
tags: ["daily"],
|
||||
description: "Daily load of DIGITAL_L30D table from raw"
|
||||
}
|
||||
|
||||
select
|
||||
*
|
||||
from ${ref("DIGITAL_L30D")}
|
||||
14
definitions/staging/stg_MAPPING_AGENT_GROUP.sqlx
Normal file
14
definitions/staging/stg_MAPPING_AGENT_GROUP.sqlx
Normal file
@ -0,0 +1,14 @@
|
||||
config {
|
||||
type: "table",
|
||||
schema: "pphe_five9_stg",
|
||||
assertions: {
|
||||
uniqueKey: ["AGENT_GROUP_ID"],
|
||||
nonNull: ["AGENT_GROUP_ID"]
|
||||
},
|
||||
tags: ["daily"],
|
||||
description: "Daily load of MAPPING_AGENT_GROUP table from raw"
|
||||
}
|
||||
|
||||
select
|
||||
*
|
||||
from ${ref("MAPPING_AGENT_GROUP")}
|
||||
14
definitions/staging/stg_MAPPING_CAMPAIGN.sqlx
Normal file
14
definitions/staging/stg_MAPPING_CAMPAIGN.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 table from raw"
|
||||
}
|
||||
|
||||
select
|
||||
*
|
||||
from ${ref("MAPPING_CAMPAIGN")}
|
||||
14
definitions/staging/stg_MAPPING_CAMPAIGN_GROUP.sqlx
Normal file
14
definitions/staging/stg_MAPPING_CAMPAIGN_GROUP.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_GROUP table from raw"
|
||||
}
|
||||
|
||||
select
|
||||
*
|
||||
from ${ref("MAPPING_CAMPAIGN_GROUP")}
|
||||
14
definitions/staging/stg_MAPPING_CAMPAIGN_GROUP_ID.sqlx
Normal file
14
definitions/staging/stg_MAPPING_CAMPAIGN_GROUP_ID.sqlx
Normal file
@ -0,0 +1,14 @@
|
||||
config {
|
||||
type: "table",
|
||||
schema: "pphe_five9_stg",
|
||||
assertions: {
|
||||
uniqueKey: ["CAMPAIGN_GROUP_ID"],
|
||||
nonNull: ["CAMPAIGN_GROUP_ID"]
|
||||
},
|
||||
tags: ["daily"],
|
||||
description: "Daily load of MAPPING_CAMPAIGN_GROUP_ID table from raw"
|
||||
}
|
||||
|
||||
select
|
||||
*
|
||||
from ${ref("MAPPING_CAMPAIGN_GROUP_ID")}
|
||||
14
definitions/staging/stg_MAPPING_CAMPAIGN_TYPE.sqlx
Normal file
14
definitions/staging/stg_MAPPING_CAMPAIGN_TYPE.sqlx
Normal file
@ -0,0 +1,14 @@
|
||||
config {
|
||||
type: "table",
|
||||
schema: "pphe_five9_stg",
|
||||
assertions: {
|
||||
uniqueKey: ["CAMPAIGN_TYPE_ID"],
|
||||
nonNull: ["CAMPAIGN_TYPE_ID"]
|
||||
},
|
||||
tags: ["daily"],
|
||||
description: "Daily load of MAPPING_CAMPAIGN_TYPE table from raw"
|
||||
}
|
||||
|
||||
select
|
||||
*
|
||||
from ${ref("MAPPING_CAMPAIGN_TYPE")}
|
||||
14
definitions/staging/stg_MAPPING_DISPOSITION_GROUP_ID.sqlx
Normal file
14
definitions/staging/stg_MAPPING_DISPOSITION_GROUP_ID.sqlx
Normal file
@ -0,0 +1,14 @@
|
||||
config {
|
||||
type: "table",
|
||||
schema: "pphe_five9_stg",
|
||||
assertions: {
|
||||
uniqueKey: ["DISPOSITION_GROUP_ID"],
|
||||
nonNull: ["DISPOSITION_GROUP_ID"]
|
||||
},
|
||||
tags: ["daily"],
|
||||
description: "Daily load of MAPPING_DISPOSITION_GROUP_ID table from raw"
|
||||
}
|
||||
|
||||
select
|
||||
*
|
||||
from ${ref("MAPPING_DISPOSITION_GROUP_ID")}
|
||||
14
definitions/staging/stg_MAPPING_DISPOSITION_ID.sqlx
Normal file
14
definitions/staging/stg_MAPPING_DISPOSITION_ID.sqlx
Normal file
@ -0,0 +1,14 @@
|
||||
config {
|
||||
type: "table",
|
||||
schema: "pphe_five9_stg",
|
||||
assertions: {
|
||||
uniqueKey: ["DISPOSITION_ID"],
|
||||
nonNull: ["DISPOSITION_ID"]
|
||||
},
|
||||
tags: ["daily"],
|
||||
description: "Daily load of MAPPING_DISPOSITION_ID table from raw"
|
||||
}
|
||||
|
||||
select
|
||||
*
|
||||
from ${ref("MAPPING_DISPOSITION_ID")}
|
||||
14
definitions/staging/stg_MAPPING_DISPOSITION_ID_GROUP.sqlx
Normal file
14
definitions/staging/stg_MAPPING_DISPOSITION_ID_GROUP.sqlx
Normal file
@ -0,0 +1,14 @@
|
||||
config {
|
||||
type: "table",
|
||||
schema: "pphe_five9_stg",
|
||||
assertions: {
|
||||
uniqueKey: ["DISPOSITION_ID"],
|
||||
nonNull: ["DISPOSITION_ID"]
|
||||
},
|
||||
tags: ["daily"],
|
||||
description: "Daily load of MAPPING_DISPOSITION_ID_GROUP table from raw"
|
||||
}
|
||||
|
||||
select
|
||||
*
|
||||
from ${ref("MAPPING_DISPOSITION_ID_GROUP")}
|
||||
14
definitions/staging/stg_MAPPING_LANGUAGES.sqlx
Normal file
14
definitions/staging/stg_MAPPING_LANGUAGES.sqlx
Normal file
@ -0,0 +1,14 @@
|
||||
config {
|
||||
type: "table",
|
||||
schema: "pphe_five9_stg",
|
||||
assertions: {
|
||||
uniqueKey: ["CODE"],
|
||||
nonNull: ["CODE"]
|
||||
},
|
||||
tags: ["daily"],
|
||||
description: "Daily load of MAPPING_LANGUAGES table from raw"
|
||||
}
|
||||
|
||||
select
|
||||
*
|
||||
from ${ref("MAPPING_LANGUAGES")}
|
||||
14
definitions/staging/stg_MAPPING_MEDIA_TYPE.sqlx
Normal file
14
definitions/staging/stg_MAPPING_MEDIA_TYPE.sqlx
Normal file
@ -0,0 +1,14 @@
|
||||
config {
|
||||
type: "table",
|
||||
schema: "pphe_five9_stg",
|
||||
assertions: {
|
||||
uniqueKey: ["MEDIA_TYPE_ID"],
|
||||
nonNull: ["MEDIA_TYPE_ID"]
|
||||
},
|
||||
tags: ["daily"],
|
||||
description: "Daily load of MAPPING_MEDIA_TYPE table from raw"
|
||||
}
|
||||
|
||||
select
|
||||
*
|
||||
from ${ref("MAPPING_MEDIA_TYPE")}
|
||||
14
definitions/staging/stg_MAPPING_SKILL.sqlx
Normal file
14
definitions/staging/stg_MAPPING_SKILL.sqlx
Normal file
@ -0,0 +1,14 @@
|
||||
config {
|
||||
type: "table",
|
||||
schema: "pphe_five9_stg",
|
||||
assertions: {
|
||||
uniqueKey: ["SKILL_ID"],
|
||||
nonNull: ["SKILL_ID"]
|
||||
},
|
||||
tags: ["daily"],
|
||||
description: "Daily load of MAPPING_SKILL table from raw"
|
||||
}
|
||||
|
||||
select
|
||||
*
|
||||
from ${ref("MAPPING_SKILL")}
|
||||
Loading…
Reference in New Issue
Block a user