diff --git a/definitions/staging/stg_MAPPING_AGENT_REASON_CODE.sqlx b/definitions/staging/stg_MAPPING_AGENT_REASON_CODE.sqlx new file mode 100644 index 0000000..df87199 --- /dev/null +++ b/definitions/staging/stg_MAPPING_AGENT_REASON_CODE.sqlx @@ -0,0 +1,14 @@ +config { + type: "table", + schema: "pphe_five9_stg", + assertions: { + uniqueKey: ["REASON_CODE_ID"], + nonNull: ["REASON_CODE_ID"] + }, + tags: ["daily"], + description: "Daily load of MAPPING_AGENT_REASON_CODE table from raw" +} + +select + * +from ${ref("MAPPING_AGENT_REASON_CODE")} \ No newline at end of file diff --git a/definitions/staging/stg_MAPPING_AGENT_STATE.sqlx b/definitions/staging/stg_MAPPING_AGENT_STATE.sqlx deleted file mode 100644 index f0093ce..0000000 --- a/definitions/staging/stg_MAPPING_AGENT_STATE.sqlx +++ /dev/null @@ -1,14 +0,0 @@ -config { - type: "table", - schema: "pphe_five9_stg", - assertions: { - uniqueKey: ["STATE"], - nonNull: ["STATE"] - }, - tags: ["daily"], - description: "Daily load of MAPPING_AGENT_STATE table from raw" -} - -select - * -from ${ref("MAPPING_AGENT_STATE")} \ No newline at end of file diff --git a/definitions/staging/stg_MAPPING_AGENT_STATE_GROUP.sqlx b/definitions/staging/stg_MAPPING_AGENT_STATE_GROUP.sqlx new file mode 100644 index 0000000..87d51d7 --- /dev/null +++ b/definitions/staging/stg_MAPPING_AGENT_STATE_GROUP.sqlx @@ -0,0 +1,14 @@ +config { + type: "table", + schema: "pphe_five9_stg", + assertions: { + uniqueKey: ["STATE_ID"], + nonNull: ["STATE_ID"] + }, + tags: ["daily"], + description: "Daily load of MAPPING_STATE_AGENT_GROUP table from raw" +} + +select + * +from ${ref("MAPPING_AGENT_STATE_GROUP")} \ No newline at end of file diff --git a/definitions/staging/stg_MAPPING_AGENT_STATE_GROUP_ID.sqlx b/definitions/staging/stg_MAPPING_AGENT_STATE_GROUP_ID.sqlx new file mode 100644 index 0000000..a1ab2e6 --- /dev/null +++ b/definitions/staging/stg_MAPPING_AGENT_STATE_GROUP_ID.sqlx @@ -0,0 +1,14 @@ +config { + type: "table", + schema: "pphe_five9_stg", + assertions: { + uniqueKey: ["STATE_GROUP_ID"], + nonNull: ["STATE_GROUP_ID"] + }, + tags: ["daily"], + description: "Daily load of MAPPING_STATE_AGENT_GROUP_ID table from raw" +} + +select + * +from ${ref("MAPPING_AGENT_STATE_GROUP_ID")} \ No newline at end of file diff --git a/definitions/staging/stg_MAPPING_AGENT_STATE_ID.sqlx b/definitions/staging/stg_MAPPING_AGENT_STATE_ID.sqlx new file mode 100644 index 0000000..3289ee6 --- /dev/null +++ b/definitions/staging/stg_MAPPING_AGENT_STATE_ID.sqlx @@ -0,0 +1,14 @@ +config { + type: "table", + schema: "pphe_five9_stg", + assertions: { + uniqueKey: ["STATE_ID"], + nonNull: ["STATE_ID"] + }, + tags: ["daily"], + description: "Daily load of MAPPING_AGENT_STATE_ID table from raw" +} + +select + * +from ${ref("MAPPING_AGENT_STATE_ID")} \ No newline at end of file