All use casesUse case · Retail

From Visual Pipeline to Production

A pipeline that works on a development canvas is only half done. This use case follows a visual DataFloem job from development to a production namespace: a named version, export and import, explicit bindings, a real run and a verified result.

Industry
Retail
Sources
Oracle, 1,120 synthetic records
Output
An Iceberg table in the production namespace
Each run
A manual handoff between two namespaces
A job in the dev namespace gets a named version and travels as two files to production, where it is bound to that environment's source, cluster and catalog, has its target rebound, runs, and is verified with SQL

At a glance

  • Challenge: a pipeline that works on a development canvas is only half done. Moving it to production by copying and editing by hand makes it hard to say exactly what was shipped, and where it writes.
  • Solution: the job gets a named version, is exported, and is imported into a separate production namespace. There it is bound to that environment's source, cluster and catalog, pointed at its own Iceberg table, and run.
  • Value: a documented, reviewable handoff. You know which definition moved, which records it uses, and that it produced the expected result in the new environment.

The scenario

Synthetic data. The demo runs on one DataFloem installation, with dev and production as two namespaces.

In an earlier demo, we built a job in the dev namespace: Retail Stock and Sales to Iceberg. It reads 1,120 synthetic stock and sales records from Oracle, keeps nine columns with a Select node, and writes them to an Apache Iceberg table. It ran successfully, and the output matched the source.

Now the same job has to run in production. This page follows it step by step: freeze the definition, package it, bring it into production, connect it to that environment, run it, and check the result.

The questions every release has to answer

  • What exactly are we shipping? If the job keeps changing in development, "the job" is not a release.
  • What does it depend on? A source connection, a compute cluster and a catalog. Production must use its own, on purpose.
  • Where does it write? A copied job that still writes to the development table is a quiet, costly mistake.
  • Did it work? A green status says the run ended. It does not say the data is right.

The handoff, step by step

  1. Freeze what we ship: a named version. In the dev job, we open Versions and create a new version from the default one. We name it Release 1.0 and set it as the default, so the job now opens on that exact version. The earlier version stays as it was, and later changes go into new versions. Everyone knows which definition moves.
  2. Package the definition. We export the version. Its file holds the whole flow: the three nodes, their connections and their settings. The job's logs show a successful run in dev, so this definition worked before it moved anywhere. We also export the job itself. In the build we used, the job's file carries the job record (its name and place), not the flow, which travels in the version file. So the handoff takes two files.
  3. Import the job into production. We switch to the production namespace. In Import, we drop the job file and choose where it lands: the production namespace, the Retail Analytics folder and the Retail Stock and Sales project. The import is confirmed, and an empty job record now exists in production. Nothing has run, and nothing is connected yet.
  4. Import the version and make it the default. Next, we import the version file into that job: the same namespace, folder and project, plus the job itself. When we open the job, it still shows its first, empty version. An imported version does not become the default by itself. In Versions, the imported copy arrives as version 1. We set it as the default, and the three nodes appear on the canvas. That small check matters: we confirm which version the job will run before we trust it.
  5. Bind this environment. The production project starts empty. Nothing is mapped automatically, so we assign this environment's records to the project ourselves. Every assignment is visible on the project's tabs and can be reviewed project by project.
    Assignment Record Why
    Source oracle_dwh The imported source node reads from it here
    Cluster A Spark cluster Compute is a choice, not something left over
    Catalog retail_lakehouse The Iceberg catalog the job writes to
  6. Check every dependency, and point the target at production. We open the imported job and review its nodes. The source node still points to the Oracle connection and the same synthetic table, as expected. The target is different: it still names the development table. We keep the same catalog, switch the namespace to the empty production one, pick the same table name there, keep the Append strategy, and save. A copied definition never makes this choice for you. It is the one change the imported job needs.
  7. Run it in production. We run the imported version on the assigned cluster. The status moves from pending to running while the cluster reads from Oracle and writes to Iceberg, and the run ends in success. The logs record it in the production job, with its status and duration. There is no scheduler and no command line here: it is a documented, manual handoff between two namespaces.

Verify the output, not just the status

A green status is not enough, so we query the production table directly in SQL Queries:

SELECT COUNT(*) AS row_count, MIN(record_id) AS min_id, MAX(record_id) AS max_id,
       SUM(stock_qty) AS stock_total, SUM(sold_qty) AS sold_total,
       ROUND(SUM(sales_amount), 2) AS amount_total
FROM retail_lakehouse.stock_sales_prod.dfl_retail_stock_sales
Check Source data Production table
Rows 1,120 1,120
Record IDs 1 to 1,120 1 to 1,120
Stock total 105,271 105,271
Sold total 6,065 6,065
Sales amount 4,097,765.4 4,097,765.4

The job did not just finish with a green badge. It produced the expected result in a new environment.

The handoff at a glance

dev namespace                                  production namespace
─────────────                                  ────────────────────
Job: Oracle → Select → Iceberg
  │
  ├─ Versions: "Release 1.0" (default)
  │     └─ Export version ──► version file ──┐
  └─ Export job ───────────► job file ───────┤
                                             ▼
                                  Import job file  → empty job record
                                  Import version   → version 1
                                  Set version 1 as default
                                  Assign source, cluster, catalog
                                  Review source node
                                  Rebind target → production table
                                  Run → Success → logs
                                  SQL: rows and totals match

What this demo shows, and what it does not

It shows one handoff observed end to end on a real DataFloem build: a named version, two exported files, two imports, explicit assignments, a rebound target, a real run and a verified result.

It does not show:

  • Automation. Export and import are manual steps in the interface. There is no CI/CD pipeline, command line or scheduler in this demo. Automation can come later, once it is validated for your build.
  • A separate installation. dev and production are namespaces in the same installation.
  • Real customer data. The 1,120 records are synthetic, generated for the demo.
  • Performance claims. The video shortens some silent waiting time, and nothing here is a benchmark.

What it means for the business

Before With DataFloem
"The job" changes while it is being released A named version that stays as it was
Pipelines rebuilt or edited by hand in each environment The definition exported once and imported into the target
Connections and compute inherited by accident Source, cluster and catalog assigned per project, on purpose
A copied job that may still write to development The target rebound explicitly to the production table
Success judged by a green status Output checked with SQL against known totals

The DataFloem capabilities it uses

Capability Role in this use case
Job versions Named versions, set as the default, that freeze a definition
Export and import Job and version files moved into another namespace, folder and project
Project assignments Sources, clusters and catalogs bound per project and environment
Cluster management The Spark cluster that runs the job in production
Logs Status and duration of each run, per job
SQL Queries Direct verification of the output table

See it in action

The video below records the same handoff on a real DataFloem build, from the named version in dev to the SQL check in production.

Planning your own path to production?

Tell us how your teams move work between environments today, and we will show you how versions, export and import fit your release process.

ESC

Start typing to search across the documentation.