Additions to Search Optimization, Sending Email Notifications, Tracking Notification History, and Anonymous Procedures
Many new features have been recently added to Snowflake. In our next ProTalk, we would like to highlight and review four of them.
- Search Optimization Service Newly Added Abilities
We will show the new abilities added to the search optimization service that can significantly improve the performance of certain types of lookup and analytical queries that use an extensive set of predicates for filtering support, including:
- Column configuration
- Support for substring and regular expression searches
- Support for fields in VARIANT, OBJECT, and ARRAY columns
- Support for geospatial functions with GEOGRAPHY objects
- System Stored Procedure for Sending Email Notifications
We will review how to use the built-in SYSTEM$SEND_EMAIL() stored procedure to send email notifications by:
- Creating a Notification Integration
- Verifying email addresses of Notification Recipients
- Granting the privilege to use the Notification Integration
- Sending an Email Notification
- Information Schema Table Function: NOTIFICATION_HISTORY
We will review the new table function that can query the history of notifications sent through Snowflake for:
- Notifications from tasks
- Notifications from Snowpipe
- Email notifications
- Anonymous Procedure (One-Time Use)
This new feature allows for creating and calling an anonymous procedure that is like a stored procedure but is not stored for later use. We will show you how to:
- Create an anonymous procedure defined by parameters in the WITH clause
- Call that procedure