Skip to main content
Transforms let you modify data in transit before it lands at the destination. They are configured per table, per column, directly on each pipeline — no separate ETL tool needed. Transforms are applied in the agent or hosted engine after data is read from the source and before it is written to the destination. Your source is never modified.

Column mapping

Every column from the source can be:

Rename (dest)

Write a column to the destination under a different name without changing the source.

Drop

Exclude a column entirely — it will not be written to the destination.
Common use: strip PII before data reaches the warehouse.

Type cast

Change the Arrow type of a column at write time. Only safe (lossless) widening casts are allowed — Zwiron prevents lossy casts that would silently lose data.

Hash

Replace a column’s value with its SHA-256 hash before writing. Use this to pseudonymize PII while preserving referential integrity.
Rows with the same source value will produce the same hash, so JOINs across tables still work.

Row filters

Filter which rows are written to the destination based on column values. Rows that don’t match the filter are dropped silently — they are never written.

Supported operators

Examples

Only sync active users:
Only sync records from the last year:
Exclude test accounts:

Multiple filters

Multiple filter conditions are ANDed together by default. Set a condition’s or flag to OR it with the previous condition.

Computed columns

Add new columns to the destination that don’t exist in the source. Computed columns are derived from existing source columns using a built-in function — applied in the agent or hosted engine before the row is written. Some common examples: Zwiron has over 90 built-in functions across math, string, date & time, conditional, aggregate, window, regex, JSON, and hashing categories.

Transform Function Reference

Browse every available function with descriptions and examples.

Flatten

For source tables with JSON or nested object columns, enable Flatten to automatically expand the top-level keys of a JSON column into individual destination columns.

Where to configure transforms

Transforms are configured per table when creating or editing a pipeline:
  1. Go to Jobs → select a job → Edit
  2. Go to the Mapping tab
  3. Select a table to configure its column mappings, filters, and computed columns
  4. Save — changes take effect on the next run

Order of operations

For each row read from source, Zwiron applies transforms in this order:
  1. Row filter — rows that don’t match are dropped
  2. Column drop — excluded columns are removed
  3. Hash — hashed columns are replaced with their hash
  4. Type cast — column types are coerced
  5. Column rename — column names are changed
  6. Computed columns — new columns are derived
  7. Flatten — JSON columns are expanded
  8. Row is written to destination

Transforms and dbt

Zwiron’s transforms handle the data movement layer. For complex business logic — multi-table joins, window functions, aggregations — the standard pattern is:
Zwiron delivers raw, clean data. dbt handles the business logic. This keeps both layers independent and testable.
Last modified on July 13, 2026