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