Adding raw tables to staging

This commit is contained in:
Anna Saiapina 2024-02-23 11:20:44 +00:00 committed by GCP Dataform
parent ee38452923
commit ccd2a3517e
13 changed files with 182 additions and 0 deletions

View 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")}

View 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")}

View 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")}

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 table from raw"
}
select
*
from ${ref("MAPPING_CAMPAIGN")}

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_GROUP table from raw"
}
select
*
from ${ref("MAPPING_CAMPAIGN_GROUP")}

View 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")}

View 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")}

View 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")}

View 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")}

View 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")}

View 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")}

View 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")}

View 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")}