diff --git a/definitions/staging/stg_CALL_L30D.sqlx b/definitions/staging/stg_CALL_L30D.sqlx new file mode 100644 index 0000000..dfcebb4 --- /dev/null +++ b/definitions/staging/stg_CALL_L30D.sqlx @@ -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")} \ No newline at end of file diff --git a/definitions/staging/stg_DIGITAL_L30D.sqlx b/definitions/staging/stg_DIGITAL_L30D.sqlx new file mode 100644 index 0000000..054abf0 --- /dev/null +++ b/definitions/staging/stg_DIGITAL_L30D.sqlx @@ -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")} \ No newline at end of file diff --git a/definitions/staging/stg_MAPPING_AGENT_GROUP.sqlx b/definitions/staging/stg_MAPPING_AGENT_GROUP.sqlx new file mode 100644 index 0000000..8983c14 --- /dev/null +++ b/definitions/staging/stg_MAPPING_AGENT_GROUP.sqlx @@ -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")} \ No newline at end of file diff --git a/definitions/staging/stg_MAPPING_CAMPAIGN.sqlx b/definitions/staging/stg_MAPPING_CAMPAIGN.sqlx new file mode 100644 index 0000000..8d05e92 --- /dev/null +++ b/definitions/staging/stg_MAPPING_CAMPAIGN.sqlx @@ -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")} \ No newline at end of file diff --git a/definitions/staging/stg_MAPPING_CAMPAIGN_GROUP.sqlx b/definitions/staging/stg_MAPPING_CAMPAIGN_GROUP.sqlx new file mode 100644 index 0000000..705bae9 --- /dev/null +++ b/definitions/staging/stg_MAPPING_CAMPAIGN_GROUP.sqlx @@ -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")} \ No newline at end of file diff --git a/definitions/staging/stg_MAPPING_CAMPAIGN_GROUP_ID.sqlx b/definitions/staging/stg_MAPPING_CAMPAIGN_GROUP_ID.sqlx new file mode 100644 index 0000000..32d5122 --- /dev/null +++ b/definitions/staging/stg_MAPPING_CAMPAIGN_GROUP_ID.sqlx @@ -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")} \ No newline at end of file diff --git a/definitions/staging/stg_MAPPING_CAMPAIGN_TYPE.sqlx b/definitions/staging/stg_MAPPING_CAMPAIGN_TYPE.sqlx new file mode 100644 index 0000000..7e6d17a --- /dev/null +++ b/definitions/staging/stg_MAPPING_CAMPAIGN_TYPE.sqlx @@ -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")} \ No newline at end of file diff --git a/definitions/staging/stg_MAPPING_DISPOSITION_GROUP_ID.sqlx b/definitions/staging/stg_MAPPING_DISPOSITION_GROUP_ID.sqlx new file mode 100644 index 0000000..a6c7957 --- /dev/null +++ b/definitions/staging/stg_MAPPING_DISPOSITION_GROUP_ID.sqlx @@ -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")} \ No newline at end of file diff --git a/definitions/staging/stg_MAPPING_DISPOSITION_ID.sqlx b/definitions/staging/stg_MAPPING_DISPOSITION_ID.sqlx new file mode 100644 index 0000000..1df7372 --- /dev/null +++ b/definitions/staging/stg_MAPPING_DISPOSITION_ID.sqlx @@ -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")} \ No newline at end of file diff --git a/definitions/staging/stg_MAPPING_DISPOSITION_ID_GROUP.sqlx b/definitions/staging/stg_MAPPING_DISPOSITION_ID_GROUP.sqlx new file mode 100644 index 0000000..a60b3e6 --- /dev/null +++ b/definitions/staging/stg_MAPPING_DISPOSITION_ID_GROUP.sqlx @@ -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")} \ No newline at end of file diff --git a/definitions/staging/stg_MAPPING_LANGUAGES.sqlx b/definitions/staging/stg_MAPPING_LANGUAGES.sqlx new file mode 100644 index 0000000..6727b26 --- /dev/null +++ b/definitions/staging/stg_MAPPING_LANGUAGES.sqlx @@ -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")} \ No newline at end of file diff --git a/definitions/staging/stg_MAPPING_MEDIA_TYPE.sqlx b/definitions/staging/stg_MAPPING_MEDIA_TYPE.sqlx new file mode 100644 index 0000000..fbda8af --- /dev/null +++ b/definitions/staging/stg_MAPPING_MEDIA_TYPE.sqlx @@ -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")} \ No newline at end of file diff --git a/definitions/staging/stg_MAPPING_SKILL.sqlx b/definitions/staging/stg_MAPPING_SKILL.sqlx new file mode 100644 index 0000000..0416c27 --- /dev/null +++ b/definitions/staging/stg_MAPPING_SKILL.sqlx @@ -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")} \ No newline at end of file