mirror of
https://gitlab.com/cief-data/dbt_cloud.git
synced 2026-08-19 04:14:00 +00:00
Moved variable into correct category for final cte.
This commit is contained in:
@@ -6,15 +6,20 @@ WITH lead_activations AS (
|
||||
|
||||
-- FINAL
|
||||
final__fct_googlesheet__sales_exchange_lead_activations AS (
|
||||
|
||||
SELECT
|
||||
-- id
|
||||
sales_team_lead_activation_id,
|
||||
company_marking_id,
|
||||
|
||||
-- dimension
|
||||
agent_name,
|
||||
contact_name,
|
||||
contact_number,
|
||||
contact_email,
|
||||
contact_method,
|
||||
contact_status,
|
||||
sales_team_remark,
|
||||
|
||||
-- measures
|
||||
|
||||
@@ -24,7 +29,6 @@ final__fct_googlesheet__sales_exchange_lead_activations AS (
|
||||
exchange_registered_datetime,
|
||||
|
||||
-- metadata
|
||||
sales_team_remark,
|
||||
'{{ modules.datetime.datetime.now(modules.pytz.timezone("Asia/Kuala_Lumpur")) }}' AS _dbt_ran_datetime
|
||||
|
||||
FROM lead_activations
|
||||
|
||||
Reference in New Issue
Block a user