diff --git a/definitions/staging/stg_csc_agent.sqlx b/definitions/staging/stg_csc_agent.sqlx index d4beaa4..3d4c171 100644 --- a/definitions/staging/stg_csc_agent.sqlx +++ b/definitions/staging/stg_csc_agent.sqlx @@ -19,7 +19,11 @@ from ${ref("pphe_five9_raw","csc_rev_changes_*")} ${ when(incremental(), `where _TABLE_SUFFIX = FORMAT_DATE('%Y%m%d',current_date("Europe/Amsterdam"))`) }) --last date table is taken select cr.RESORT, cr.MARKET_CODE, + cr.MARKET_DESC, cr.CONFIRMATION_NO, + cr.RESV_STATUS, + cr.ARRIVAL, + cr.DEPARTURE, cr.UPDATE_USER, ca.AGENT_ID, case