+1
This commit is contained in:
parent
f04f8bb0ef
commit
dc7482e030
@ -6,5 +6,5 @@ config {
|
||||
}
|
||||
|
||||
select *
|
||||
from ${ref("DIGITAL")}
|
||||
where date(timestamp_millisecond) >= date_sub(current_datetime("Europe/Amsterdam"), INTERVAL 5 DAY)
|
||||
from ${ref("stg_digital")}
|
||||
where date(timestamp) >= date_sub(current_datetime("Europe/Amsterdam"), INTERVAL 5 DAY)
|
||||
@ -1,14 +0,0 @@
|
||||
config {
|
||||
type: "table",
|
||||
schema: "pphe_five9_gold",
|
||||
assertions: {
|
||||
uniqueKey: ["CUSTOMER_ID", "TIMESTAMP_MILLISECOND"],
|
||||
nonNull: ["CUSTOMER_ID"]
|
||||
},
|
||||
tags: ["daily"],
|
||||
description: "Daily load of DIGITAL table from stg"
|
||||
}
|
||||
|
||||
select
|
||||
*
|
||||
from ${ref("stg_DIGITAL")}
|
||||
Loading…
Reference in New Issue
Block a user