Adding new mapping to raw and staging
This commit is contained in:
parent
068a393ee9
commit
1950c5865f
6
definitions/sources/MAPPING_PRODUCTIVE_REVENUE.sqlx
Normal file
6
definitions/sources/MAPPING_PRODUCTIVE_REVENUE.sqlx
Normal file
@ -0,0 +1,6 @@
|
||||
config {
|
||||
type: "declaration",
|
||||
schema: "pphe_five9_raw",
|
||||
name: "MAPPING_PRODUCTIVE_REVENUE",
|
||||
description: ""
|
||||
}
|
||||
14
definitions/staging/stg_MAPPING_PRODUCTIVE_REVENUE.sqlx
Normal file
14
definitions/staging/stg_MAPPING_PRODUCTIVE_REVENUE.sqlx
Normal file
@ -0,0 +1,14 @@
|
||||
config {
|
||||
type: "table",
|
||||
schema: "pphe_five9_stg",
|
||||
assertions: {
|
||||
uniqueKey: ["STATE_ID", "REASON_CODE_ID"],
|
||||
nonNull: ["STATE_ID", "REASON_CODE_ID"]
|
||||
},
|
||||
tags: ["daily"],
|
||||
description: "Daily load of MAPPING_PRODUCTIVE_REVENUE table from raw"
|
||||
}
|
||||
|
||||
select
|
||||
*
|
||||
from ${ref("MAPPING_PRODUCTIVE_REVENUE")}
|
||||
Loading…
Reference in New Issue
Block a user