如何在snowflake中设置电子邮件提醒



如果仓库达到极限或任何查询被阻止,我们可以从snowflake发送电子邮件提醒吗?

看过很多视频,我们可以使用python和。net来设置电子邮件框架,但有人在snowflake中尝试过吗?

您可以使用外部函数、AWS SES和Lambda函数的组合。使用外部函数,您可以触发Lambda,它通过SES发送邮件。

方案设计:https://medium.com/hashmapinc/sending-email-notifications-from-snowflake-using-external-functions-4b985c182292

外部函数:https://docs.snowflake.com/en/sql-reference/external-functions-introduction.html

Snowflake本身没有这种机制的选项,但通常利用云功能进行警报操作。

OOTB警报仅限于资源监视器,详情如下:https://docs.snowflake.net/manuals/user-guide/resource-monitors.html

对于Snowpipe,有如下详细的通知机制:https://docs.snowflake.com/en/user-guide/data-load-snowpipe-errors.html

相关内容

最新更新