Skip to content

Commit

Permalink
fixed email linkages
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhopper-dataengineers committed May 31, 2023
1 parent 1fe474f commit 4519596
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ CREATE OR REPLACE ALERT {{ target_relation.include(database=(not temporary), sch
'timestamp', :alert_timestamp,
'accountName', :alert_account_name,
'environment', :alert_environment,
'alertName', :alert_name,
'objectName', :alert_name,
'listener', 'snowflake_email',
'severity', :alert_severity,
'description', :alert_display_message,
'messages', ARRAY_AGG(OBJECT_CONSTRUCT(*))) AS alert_body
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ CREATE OR REPLACE TASK {{ target_relation.include(database=(not temporary), sche
SELECT OBJECT_CONSTRUCT('version', :alert_version,
'messageId', :alert_message_id,
'messageType', :alert_message_type,
'listener', 'snowflake_email',
'timestamp', :alert_timestamp,
'accountName', :alert_account_name,
'environment', :alert_environment,
'alertName', :alert_name,
'objectName', :alert_name,
'severity', :alert_severity,
'description', :alert_display_message,
'messages', ARRAY_AGG(OBJECT_CONSTRUCT(*))) AS alert_body
Expand Down

0 comments on commit 4519596

Please sign in to comment.