From c65e6d420526781a247b37f67c26f406d4069ec7 Mon Sep 17 00:00:00 2001 From: levonkorganyan Date: Tue, 18 Feb 2025 09:33:21 -0800 Subject: [PATCH] fix(hubspot): Get columns from appropriate relation --- models/staging/hubspot_staging/stg_rag_hubspot__owner.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/staging/hubspot_staging/stg_rag_hubspot__owner.sql b/models/staging/hubspot_staging/stg_rag_hubspot__owner.sql index fa06618..62a5175 100644 --- a/models/staging/hubspot_staging/stg_rag_hubspot__owner.sql +++ b/models/staging/hubspot_staging/stg_rag_hubspot__owner.sql @@ -21,7 +21,7 @@ fields as ( select {{ fivetran_utils.fill_staging_columns( - source_columns=adapter.get_columns_in_relation(source('rag_hubspot','contact')), + source_columns=adapter.get_columns_in_relation(source('rag_hubspot','owner')), staging_columns=get_hubspot_owner_columns() ) }}