From 470aa7717f665d6f360d10e77a296a38e86b24c5 Mon Sep 17 00:00:00 2001 From: Jenny V Medina Date: Fri, 20 Dec 2024 15:46:16 -0500 Subject: [PATCH] [SNOW-60] Hotfix: Programmatically feed stage name (#96) --- .../tables/V2.28.1__update_userprofilesnapshots_task.sql | 2 +- .../tables/V2.28.2__refresh_userprofilesnapshots.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/synapse_data_warehouse/synapse_raw/tables/V2.28.1__update_userprofilesnapshots_task.sql b/synapse_data_warehouse/synapse_raw/tables/V2.28.1__update_userprofilesnapshots_task.sql index 87ab00a6..46a140e8 100644 --- a/synapse_data_warehouse/synapse_raw/tables/V2.28.1__update_userprofilesnapshots_task.sql +++ b/synapse_data_warehouse/synapse_raw/tables/V2.28.1__update_userprofilesnapshots_task.sql @@ -37,7 +37,7 @@ ALTER TASK userprofilesnapshot_task MODIFY AS $1:industry as industry, $1:tos_agreements as tos_agreements from - @synapse_prod_warehouse_s3_stage/userprofilesnapshots --noqa: TMP + @{{stage_storage_integration}}_stage/userprofilesnapshots --noqa: TMP ) pattern = '.*userprofilesnapshots/snapshot_date=.*/.*'; diff --git a/synapse_data_warehouse/synapse_raw/tables/V2.28.2__refresh_userprofilesnapshots.sql b/synapse_data_warehouse/synapse_raw/tables/V2.28.2__refresh_userprofilesnapshots.sql index 7e6008ef..39d89d96 100644 --- a/synapse_data_warehouse/synapse_raw/tables/V2.28.2__refresh_userprofilesnapshots.sql +++ b/synapse_data_warehouse/synapse_raw/tables/V2.28.2__refresh_userprofilesnapshots.sql @@ -33,6 +33,6 @@ FROM ( $1:industry as industry, $1:tos_agreements as tos_agreements from - @synapse_prod_warehouse_s3_stage/userprofilesnapshots --noqa: TMP + @{{stage_storage_integration}}_stage/userprofilesnapshots --noqa: TMP ) pattern = '.*userprofilesnapshots/snapshot_date=.*/.*';