Adding tables to the gold stage
This commit is contained in:
parent
67f3e0a0a2
commit
0b1ba29825
14
definitions/gold/CALLS.sqlx
Normal file
14
definitions/gold/CALLS.sqlx
Normal file
@ -0,0 +1,14 @@
|
||||
config {
|
||||
type: "table",
|
||||
schema: "pphe_five9_gold",
|
||||
assertions: {
|
||||
uniqueKey: ["CALL_ID"],
|
||||
nonNull: ["CALL_ID"]
|
||||
},
|
||||
tags: ["daily"],
|
||||
description: "Daily load of CALLS table from stg"
|
||||
}
|
||||
|
||||
select
|
||||
*
|
||||
from ${ref("stg_CALLS")}
|
||||
14
definitions/gold/DIGITAL.sqlx
Normal file
14
definitions/gold/DIGITAL.sqlx
Normal file
@ -0,0 +1,14 @@
|
||||
config {
|
||||
type: "table",
|
||||
schema: "pphe_five9_gold",
|
||||
assertions: {
|
||||
uniqueKey: ["?"],
|
||||
nonNull: ["?"]
|
||||
},
|
||||
tags: ["daily"],
|
||||
description: "Daily load of DIGITAL table from stg"
|
||||
}
|
||||
|
||||
select
|
||||
*
|
||||
from ${ref("stg_DIGITAL")}
|
||||
Loading…
Reference in New Issue
Block a user