Change dates
This commit is contained in:
parent
0c8d534db6
commit
add6e94187
@ -1,7 +1,7 @@
|
||||
config {
|
||||
type: "table",
|
||||
schema: "pphe_five9_gold",
|
||||
description: "Exporting last 7 days of csc_agent table"
|
||||
description: "Exporting last 3 days of csc_agent table"
|
||||
}
|
||||
|
||||
select RESORT,
|
||||
@ -20,5 +20,5 @@ select RESORT,
|
||||
REVENUE_GENERATING_YN,
|
||||
COUNTER
|
||||
from ${ref("stg_csc_agent")}
|
||||
where DATE >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
|
||||
where DATE >= DATE_SUB(CURRENT_DATE(), INTERVAL 4 DAY)
|
||||
and CSC_AGENT_YN = 'Y'
|
||||
Loading…
Reference in New Issue
Block a user