Cert EspressoLearn. Practise. Find your flow.

A LITTLE FOCUS.
A BIG NEXT STEP.

Your pace. Your space.
Snowflake · SnowPro Core

Snowpipe, Snowpipe Streaming, and Openflow

SnowPro Core · Lesson 17 of 27 · 2:02:19

YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗

Learning with these videos? Subscribe for new courses and exam-style questions.

In this lesson

Prepare for the SnowPro Core Certification exam (COF-C03). In this lesson: Snowpipe, auto-ingest and the REST API, load metadata and monitoring, Snowpipe Streaming, and Openflow. Follows Foxglove Apparel, a fictional online clothing retailer. Includes three original practice questions.

Study notes

The text of this lesson, to read at your own pace. Information as of November 2026.

From nightly to near real time

Foxglove's warehouses now drop order files into S3 all day long, and the business wants them queryable within minutes, not the next morning. Its website also produces a constant flow of click events, which analysts want to see within seconds. Snowpipe and Snowpipe Streaming cover these two needs, with no warehouse to manage.

How Snowpipe works

Snowpipe loads files continuously, as they arrive in a stage, into standard or Iceberg tables. You define the load once in a pipe, a schema object that holds one COPY INTO statement, and that definition cannot be edited afterwards. Snowpipe is serverless: Snowflake provides and scales the compute, so there is no warehouse to size, start, or suspend. It is charged a fixed number of credits per gigabyte loaded, and it typically loads a file within a minute after it learns about it.

Auto-ingest and the REST API

With AUTO_INGEST set to TRUE, the cloud storage service sends an event notification each time a file arrives. On Amazon S3, notifications can go directly through Amazon S Q S, or through S N S or EventBridge, when other applications need the same events. Otherwise, your application calls the Snowpipe REST API, to tell Snowpipe which files to load. With automated loading, a new pipe only loads the files that arrive after notifications are set up, and older files need a refresh of the pipe.

Load metadata and monitoring

Each pipe keeps its own load metadata, the files it processed in the last fourteen days, and it ignores a file staged again with the same name. Bulk loads keep separate metadata on the table, for sixty-four days, so avoid loading the same files with both methods. For Snowpipe, the ON_ERROR default is SKIP_FILE, and SYSTEM$PIPE_STATUS shows whether a pipe is running, and how many files are waiting. A pipe can be paused and resumed, and since its definition cannot be edited, changing it means recreating the pipe.

Bulk loading or Snowpipe

Bulk loading, with COPY INTO and a warehouse, suits large one-time or scheduled batches, and it allows FORCE and validation mode. Snowpipe suits a steady flow of files, with serverless compute, and no schedule to orchestrate. And when data arrives as rows rather than files, Snowpipe Streaming is the faster path.

Snowpipe Streaming

Snowpipe Streaming loads rows instead of files: applications send them through an S D K for Java, Python, or Node.js, through the REST API, or through the Snowflake Connector for Kafka. Rows travel through channels to a target table, and they become queryable in as little as five seconds. Elastic channels are managed by Snowflake, while named channels give ordered, exactly-once ingestion with offset tokens, for sources such as Kafka partitions. It is serverless too, and charged in credits per uncompressed gigabyte ingested.

Openflow, not tested yet

Snowflake also offers Openflow, an integration service built on Apache NiFi, with connectors for many sources, including unstructured data. It can run as a Snowflake deployment, or in your own cloud. The study guide says that Openflow will not be tested until it is generally available everywhere, so simply remember its name and its purpose.

Recap

Let's recap. Snowpipe loads files continuously, through a pipe that holds one COPY INTO statement, on serverless compute. It learns about files from cloud event notifications, with auto-ingest, or from calls to its REST API. Each pipe keeps fourteen days of load metadata, separate from the sixty-four days of bulk loads, and it skips bad files by default. Snowpipe Streaming loads rows from S D Ks, the REST API, or Kafka, within seconds. And Openflow is an integration service built on Apache NiFi, not tested yet.

Quick checks for this lesson

The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.

  1. Foxglove wants new order files in S3 loaded within minutes of their arrival, with no warehouse to size, and no job that keeps checking the bucket. What should it set up?

    • A task that runs COPY INTO every five minutes
    • A pipe with AUTO_INGEST and S3 event notifications
    • A dynamic table over the stage
    • An external table with a large warehouse
    Show the answer

    A pipe with AUTO_INGEST and S3 event notifications

    With auto-ingest, S3 event notifications tell Snowpipe about each new file, and serverless compute loads it. “A task that runs COPY INTO every five minutes” is a scheduled job that checks the stage again and again, which Foxglove wants to avoid. “A dynamic table over the stage” is wrong, since a dynamic table refreshes from tables, not from files that arrive in a stage. And “An external table with a large warehouse” would only query the files in place, with a warehouse to manage.

  2. A Foxglove engineer fixes a corrupted file, and uploads it to the stage again with the same name, two days after Snowpipe first processed it. Snowpipe does not load it. Why?

    • Snowpipe can never load a file that failed once
    • Snowpipe needs a warehouse to reload a file
    • The table’s 64-day load metadata blocks it
    • The pipe’s 14-day load metadata lists the file
    Show the answer

    The pipe’s 14-day load metadata lists the file

    The pipe remembers the files it processed in the last fourteen days, so it ignores a file staged again with the same name. “Snowpipe can never load a file that failed once” is wrong, because the corrected file would load under a new name. “Snowpipe needs a warehouse to reload a file” is wrong, since Snowpipe always runs on serverless compute. And “The table’s 64-day load metadata blocks it” mixes up the two methods: the sixty-four day metadata belongs to bulk loads.

  3. Foxglove’s website publishes click events to Kafka, and analysts want them queryable within seconds, in the order of each partition, with no duplicates. Which option fits best?

    • Snowpipe Streaming with the Kafka connector
    • Snowpipe with auto-ingest on exported files
    • A task running COPY INTO every minute
    • An external table over the Kafka topics
    Show the answer

    Snowpipe Streaming with the Kafka connector

    Snowpipe Streaming takes rows straight from Kafka, in as little as five seconds, and named channels keep each partition ordered, exactly once. “Snowpipe with auto-ingest on exported files” would first write files, and it typically takes up to a minute. “A task running COPY INTO every minute” would add a schedule and a warehouse, with minutes of delay. And “An external table over the Kafka topics” is wrong, because external tables read files in a stage, not Kafka topics.