10 lines
270 B
Plaintext
10 lines
270 B
Plaintext
config {
|
|
type: "table",
|
|
schema: "pphe_five9_gold",
|
|
tags: ["daily"],
|
|
description: "Exporting last 5 days of DIGITAL table."
|
|
}
|
|
|
|
select *
|
|
from ${ref("stg_digital")}
|
|
where date(timestamp) >= date_sub(current_datetime("Europe/Amsterdam"), INTERVAL 5 DAY) |