diff --git a/definitions/sources/MAPPING_AGENT_STATE.sqlx b/definitions/sources/MAPPING_AGENT_STATE.sqlx new file mode 100644 index 0000000..9be18a0 --- /dev/null +++ b/definitions/sources/MAPPING_AGENT_STATE.sqlx @@ -0,0 +1,6 @@ +config { + type: "declaration", + schema: "pphe_five9_raw", + name: "MAPPING_AGENT_STATE", + description: "" + } \ No newline at end of file diff --git a/definitions/staging/stg_MAPPING_AGENT_STATE.sqlx b/definitions/staging/stg_MAPPING_AGENT_STATE.sqlx new file mode 100644 index 0000000..f0093ce --- /dev/null +++ b/definitions/staging/stg_MAPPING_AGENT_STATE.sqlx @@ -0,0 +1,14 @@ +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