liveBook · Manning

Notification

As explained in Snowflake Data Engineering

An event notification is a message indicating that a specified event, such as the arrival of a new file, has occurred.

An event notification is metadata indicating that a specified event occurred, such as a new file arriving in cloud storage. Snowpipe stores these notifications in a queue, identifies the new files, and loads them into Snowflake tables according to the pipe’s COPY statement. Notifications contain file metadata, not file contents; the files remain in cloud storage until ingestion. section 5.3 section 5.5

Cloud messaging implementations supported for continuous Snowpipe loading include:

  • Amazon S3 uses Simple Queue Service notifications for bucket events. section 5.3
  • Google Cloud Storage uses Pub/Sub messages for storage events. section 5.3
  • Microsoft Azure blob storage uses Event Grid messages; the workflow includes a storage queue, event subscription, and system topic for blob events. section 5.3 section 5.5

Azure continuous ingestion

When a new file appears in an Azure blob-storage container, Event Grid produces a notification and places it in the message queue. Snowpipe consumes the notification and executes its COPY command to ingest the file. section 5.5

How Snowflake Data Engineering covers it

How deep it goes
Defines queued metadata and supported cloud services, but stops short of provider-specific configuration details.
Examples
Uses Amazon S3 SQS, Google Cloud Pub/Sub, and Azure Event Grid messages for newly arriving files.
What it assumes
Assumes cloud-storage and Snowpipe concepts while defining notification metadata, queues, and event-driven loading.
What you can do after
Operate continuous ingestion by connecting cloud-storage events to Snowpipe and distinguishing metadata from file contents.
How it connects
Connects cloud storage, Snowpipe, message queues, notification integrations, and COPY statements.

Also explained in

Compare how 2 books explain notification →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Snowflake Data Engineering. The section links point to the parts of the book it draws on.