DataPancake™ Docs
  • DataPancake™ Documentation
  • Overview
    • What is DataPancake™?
    • Understanding the Challenges of Semi-Structured Data
  • Getting Started
    • How to Guides (Script Builder)
      • Admin Guides
        • How to Purchase & Install DataPancake
        • How to Manage Access to DataPancake
        • How to Grant DataPancake Account & Cortex AI Privileges
        • How to Add Warehouses to DataPancake
      • Data Source Guides
        • How to Create a Single DataPancake Data Source (Script Builder)
        • How to Create Multiple DataPancake Data Sources (Script Builder)
      • Alert Guides
        • How to Create Schema Drift Alerts (Script Builder)
    • Application Overview
      • Data Source Overview
      • Manage Data Source
      • Manage Scan Configuration
      • Scan Data Source
      • Data Source Attributes
      • Dynamic Table SQL
      • Manage Warehouse
  • Topics
    • Warehouses
    • Data Sources
    • Scan Configurations
    • Attributes
    • Scan Processing
    • Views
    • Attribute Consolidation
    • Pricing
  • DEVELOPMENT
    • Release Notes
Powered by GitBook
On this page
  • 1. Navigate to the "Alert" script builder
  • 2. (Optional) Change the app database name
  • 3. Enter the role used to install DataPancake
  • 4. Enter the name of the Snowflake database used to store the alert
  • 5. Enter the name of the schema used to store the alert
  • 6. Enter the name of the Warehouse used to store the alert
  • 7. Select the Interval Type
  • 8. Enter the Interval Quantity
  • 9. Enter the comma separated email addresses that should receive the alerts
  • 10. (Option 1) Click "Generate Alert Script (Free)"
  • 11. (Option 2) Click "Generate Alert Script (Paid)"
  • 12. Copy the script
  • 13. Open a new Snowflake worksheet and paste the script
  • 14. Review & Execute the script
  • 15. Ensure successful execution by examining the call result
  • 16. Alert Management
  1. Getting Started
  2. How to Guides (Script Builder)
  3. Alert Guides

How to Create Schema Drift Alerts (Script Builder)

Build a script to create schema drift email alerts for all connected data sources in DataPancake.

Last updated 7 hours ago

Please ensure the have been completed and at least one is connected before creating schema drift alerts.

1. Navigate to the "Alert" script builder

2. (Optional) Change the app database name

The default is DATAPANCAKE

3. Enter the role used to install DataPancake

4. Enter the name of the Snowflake database used to store the alert

If the name is case sensitive, put the name in double quotes such as "EXAMPLE_NAME"

5. Enter the name of the schema used to store the alert

If the name is case sensitive, put the name in double quotes such as "EXAMPLE_NAME"

6. Enter the name of the Warehouse used to store the alert

7. Select the Interval Type

Choose the interval type for data to be analyzed and determine if an alert should be sent.

8. Enter the Interval Quantity

Choose the interval quantity for data to be analyzed and determine if an alert should be sent.

9. Enter the comma separated email addresses that should receive the alerts

The email addresses must be verified by Snowflake to receive emails. Email verification can be initiated through the user's "My Profile" settings in Snowflake. Click 'Resend verification email' if needed.

10. (Option 1) Click "Generate Alert Script (Free)"

The free version will send an email notification informing of a schema change to one or more data sources including the name of the data source only.

11. (Option 2) Click "Generate Alert Script (Paid)"

The paid version will send an email notification informing of a schema change to one or more data sources including the details of the schema changes.

12. Copy the script

13. Open a new Snowflake worksheet and paste the script

14. Review & Execute the script

Use the blue dropdown arrow at the top right and click "Run All"

15. Ensure successful execution by examining the call result

16. Alert Management

SQL statements have been provided to:

  • Manually execute the alert

  • Start and stop the alert scheduling.

  • View alert execution history

Admin Guides
data source