What Openflow does—and what still needs a design
Openflow is a data integration service built on Apache NiFi. It runs flows that read a source, move or transform its data, and deliver it to a destination.
Understand the idea
Imagine a company keeping policy documents in SharePoint. Analysts need an approved copy in Snowflake. A connector handles the source-specific work of discovering and fetching documents; your team still decides scope, access rules, freshness and recovery.
| Concept | What it means |
|---|---|
| Source | The system where data starts, such as a document library. |
| Connector | A packaged flow for a particular integration. |
| Runtime | The environment executing flows. |
| Destination | The location receiving data, such as a Snowflake stage or table. |
A concrete example
Imagine a company keeping policy documents in SharePoint. Analysts need an approved copy in Snowflake. A connector handles the source-specific work of discovering and fetching documents; your team still decides scope, access rules, freshness and recovery.
Remember: A table is only a destination object. Source authentication, runtime configuration and a running flow are separate requirements.
Explain it step by step · full theory
Understand the idea
Imagine a company keeping policy documents in SharePoint. Analysts need an approved copy in Snowflake. A connector handles the source-specific work of discovering and fetching documents; your team still decides scope, access rules, freshness and recovery.
A file landing in Snowflake is not automatically a clean analytical table. Documents, file metadata, permission records and business rows are different outputs. Read the selected connector variant before designing downstream SQL.
Apply it carefully
This module has two practice paths: a self-contained SQL simulation and an optional real connector walkthrough. The simulation teaches contracts and reconciliation without pretending that a live SharePoint or Google connection exists.
Use the Module 03 database and a dedicated M9_LAB schema. Choose an authorized role and warehouse; you need database USAGE and CREATE SCHEMA, then CREATE TABLE in the schema. Run setup once; use a fresh schema name if repeating. In every later session select this schema again.
Words used in this lesson
- Source
- The system where data starts, such as a document library.
- Connector
- A packaged flow for a particular integration.
- Runtime
- The environment executing flows.
- Destination
- The location receiving data, such as a Snowflake stage or table.
See how it works
Choose a step to explore the idea at your own pace.
Open the interactive explanation
What Openflow does—and what still needs a design
Follow the flow
Openflow is a data integration service built on Apache NiFi. It runs flows that read a source, move or transform its data, and deliver it to a destination.
Automatic playback is off for reduced motion. Select any step or use Previous and Next. Illustrations explain behavior; they are not live measurements.
Read the complete diagram explanation
- Follow the flow
Openflow is a data integration service built on Apache NiFi. It runs flows that read a source, move or transform its data, and deliver it to a destination.
- Find the boundary
Use the Module 03 database and a dedicated M9_LAB schema. Choose an authorized role and warehouse; you need database USAGE and CREATE SCHEMA, then CREATE TABLE in the schema. Run setup once; use a fresh schema name if repeating. In every later session select this schema again.
Try the SQL or command
Read → predict → run in your learning environment → compare. You can also learn by reading without an account.
New to SQL? Where to run it and how to read it
A query is a question written in SQL. Snowflake runs it and returns a result table. This website shows examples; it does not connect to your account.
- No account yet? Read and predict the output first. Follow the account and Snowsight lesson when you are ready.
- For SQL practice, use a learning account in Snowsight and select an authorized role and warehouse. A role determines permissions; a warehouse supplies processing power. Follow the example’s database/schema setup when it refers to stored objects.
- Read the entire example, including comments beginning with
--. Run the selected statement or labeled block in the stated order. Examples labeled Python, shell or HTTP belong in that client, not in a SQL editor. - Compare values and row counts with the explained result. If an example deliberately causes an error, follow its rollback and cleanup steps before continuing.
- SELECT / FROM
- Choose the values to return / identify their input.
- VALUES / COLUMN1
- VALUES supplies tiny example rows. COLUMN1 means their first column, COLUMN2 their second.
- AS / WITH
- AS gives a result a readable name. WITH names a temporary query step within one statement.
- NULL / ::
- NULL means missing or unknown. The :: notation converts a value to a named data type.
- Session
- One connection and its settings. Keep related transaction steps in the same session.
- Database.schema.table
- A full address for stored data. It is separate from the warehouse that processes queries.
Need the L2_OBJECTS_LAB setup? Open the first database-object lesson →
Help with common practice errors
- No active warehouse: select a warehouse your role can use. Do not assume you need to create a new one.
- Object missing or not authorized: check the full name, required setup and active role. Ask the account owner for access if needed.
- Object already exists: setup may already have run. Read the current state or choose a fresh lab name consistently; do not add OR REPLACE blindly.
- Different result: check whether an earlier INSERT or UPDATE changed the data. VALUES examples provide their own fresh input for each statement.
Before running this lesson
SQL practice is manual. The website does not connect to external services. Connector deployment is a separate administrator-assisted exercise.
Hands-on SQL: What Openflow does—and what still needs a design
USE DATABASE L2_OBJECTS_LAB;
CREATE SCHEMA M9_LAB;
USE SCHEMA M9_LAB;
CREATE TABLE DOCUMENT_EVENTS (
SOURCE_SYSTEM VARCHAR, DOCUMENT_ID VARCHAR, SOURCE_VERSION NUMBER,
TITLE VARCHAR, OP VARCHAR, PERMISSION_GROUP VARCHAR,
SOURCE_CHANGED_AT TIMESTAMP_NTZ, INGESTED_AT TIMESTAMP_NTZ
);
SELECT COUNT(*) AS EVENT_COUNT FROM DOCUMENT_EVENTS;What to expect and why
Returns 0. This is our teaching contract, not the schema created by an Openflow connector. No external data is fetched.
Check your understanding
Choose an answer, then check your reasoning. This is practice, not a scored test.
Try it yourself
Explain your decision: Does creating the lab table start a connector?
Compare your reasoning
A table is only a destination object. Source authentication, runtime configuration and a running flow are separate requirements.
Official sources and curriculum
Module 09 · See module scope