Module 09 · Data Ingestion

Openflow & Source Connectors

Read a clear definition, compare the concepts, then try the SQL or client command. Detailed explanations and diagrams remain available when you need them.

Before you begin

Intermediate · 9 lessons · About 162 minutes including detailed reading.

Prerequisite: Continuous Ingestion: Snowpipe & Snowpipe Streaming. Reading needs no account. Manual SQL practice requires an authorized Snowflake account, suitable role and warehouse. Commands are examples, not executed by this website.

Complete Modules 05–08 first. Nine lessons explain Openflow, SaaS connectors and operations. Create M9_LAB in lesson 1 and run the synthetic document examples in order. SQL practice needs no external connector. The optional real source walkthrough requires approved Openflow access, source administrator setup and protected credentials; the website does not provision or run it.

Begin Module 09 →
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.

  1. No account yet? Read and predict the output first. Follow the account and Snowsight lesson when you are ready.
  2. 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.
  3. 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.
  4. 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.
What this module covers

Your lesson path

  1. Lesson 1 · About 18 min

    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.

    Read and practise →
  2. Lesson 2 · About 18 min

    Read a NiFi flow: processors, queues and back pressure

    A flow connects processing steps. Queues hold work between steps so a slow destination does not require every source request to finish immediately.

    Read and practise →
  3. Lesson 3 · About 18 min

    Deployment, runtime and permission boundaries

    A deployment contains runtimes; runtimes execute connectors. Choosing where they run also determines networking, operational ownership and access boundaries.

    Read and practise →
  4. Lesson 4 · About 18 min

    SharePoint: choose a site, an identity and an ACL policy

    The SharePoint connector can ingest content from a Microsoft 365 SharePoint site. Select its ingest/search and permission-aware variant before configuring it.

    Read and practise →
  5. Lesson 5 · About 18 min

    Google Drive: scope the shared drive and preserve identity

    The Google Drive connector reads a Google Workspace Shared Drive. Its setup and permission model should not be confused with connecting an arbitrary personal folder.

    Read and practise →
  6. Lesson 6 · About 18 min

    Initial sync, incremental changes and replay

    Initial sync establishes a baseline. Incremental sync processes later changes. Both need a contract for identity, ordering, deletion and retry.

    Read and practise →
  7. Lesson 7 · About 18 min

    Monitor freshness, failures and safe recovery

    A healthy pipeline delivers the intended changes within its freshness target and preserves their access rules. A green runtime alone is not enough.

    Read and practise →
  8. Lesson 8 · About 18 min

    Choose Openflow, custom ingestion or Kafka

    Choose ingestion from the source contract and operating requirements, not from a rule that one tool must handle every source.

    Read and practise →
  9. Lesson 9 · About 18 min

    Final lab: design and reconcile a document pipeline

    Turn the six simulated deliveries into a current document inventory, then use the same reconciliation questions to design a real connector rollout.

    Read and practise →

Continue learning

Module 10: Stored Procedures, UDFs & Snowflake Scripting →

Full curriculum and reference library →