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
|
||||||
final__fct_googlesheet__sales_exchange_lead_activations AS (
|
final__fct_googlesheet__sales_exchange_lead_activations AS (
|
||||||
|
|
||||||
SELECT
|
SELECT
|
||||||
|
-- id
|
||||||
sales_team_lead_activation_id,
|
sales_team_lead_activation_id,
|
||||||
company_marking_id,
|
company_marking_id,
|
||||||
|
|
||||||
|
-- dimension
|
||||||
agent_name,
|
agent_name,
|
||||||
contact_name,
|
contact_name,
|
||||||
contact_number,
|
contact_number,
|
||||||
contact_email,
|
contact_email,
|
||||||
contact_method,
|
contact_method,
|
||||||
contact_status,
|
contact_status,
|
||||||
|
sales_team_remark,
|
||||||
|
|
||||||
-- measures
|
-- measures
|
||||||
|
|
||||||
@@ -24,7 +29,6 @@ final__fct_googlesheet__sales_exchange_lead_activations AS (
|
|||||||
exchange_registered_datetime,
|
exchange_registered_datetime,
|
||||||
|
|
||||||
-- metadata
|
-- metadata
|
||||||
sales_team_remark,
|
|
||||||
'{{ modules.datetime.datetime.now(modules.pytz.timezone("Asia/Kuala_Lumpur")) }}' AS _dbt_ran_datetime
|
'{{ modules.datetime.datetime.now(modules.pytz.timezone("Asia/Kuala_Lumpur")) }}' AS _dbt_ran_datetime
|
||||||
|
|
||||||
FROM lead_activations
|
FROM lead_activations
|
||||||
|
|||||||
Reference in New Issue
Block a user