ChatDiagram
data engineering · ETL · BigQuery

Nightly PostgreSQL to BigQuery sales ETL

This data pipeline flowchart documents a nightly sales ETL run from PostgreSQL to BigQuery. Changed order records land first in Cloud Storage, where the batch is checked against its expected schema before any warehouse write occurs. Invalid files move to quarantine and notify the data engineer.

Tipo Diagramma di flussoStandard Sugiyama layered DAG + orthogonal routingMotore schematex-flowchartAggiornato 22/09/2026
PostgreSQL to BigQuery ETL
Drawing preview
La richiesta

“Create a daily data pipeline flowchart that extracts changed PostgreSQL orders to Cloud Storage, checks the schema, quarantines failures, deduplicates records, validates revenue and row counts, loads BigQuery, runs a MERGE and dbt marts, then publishes sales dashboard data.”

Prova alloraAdd a backfill branch for a selected date rangeChange BigQuery to Snowflake
Cosa contiene questo disegno

Leggi le decisioni che ne stanno alla base.

01Incremental extraction

Only orders changed since the previous run are exported.

02Schema contract

Unexpected columns or types are isolated before they contaminate analytics.

03Business reconciliation

Row counts and revenue totals must agree before publishing.

04Idempotent load

MERGE updates the order fact table without creating duplicates.

Use this for a daily transactional-to-warehouse ETL job with a cloud object-store landing zone. It suits reporting pipelines where a failed batch is safer than partial dashboard data.

Sfoglia tutti i modelli di tipo diagramma di flusso →

FAQ

Domande frequenti

Why land files before loading BigQuery?

A raw landing zone preserves the extract for replay, inspection, and controlled backfills.

Why use MERGE for orders?

Orders can change after creation, so MERGE applies inserts and updates without duplicate order rows.

What should the revenue check compare?

Compare a source aggregate for the extract window with the staged aggregate before publication.