DATA OPS

Auto-Generate and Apply Snowflake Reconciliation DDL

On a schedule it detects additive schema drift, generates the ALTER TABLE statements that bring Snowflake back in line with BigQuery, applies only the safe additive changes.

CategoryData Ops
Enginesim
Difficultyadvanced
Triggerschedule
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerScheduled reconciliation pass
  • ActionRead BigQuery and Snowflake schemasGoogle BigQueryBigQuery
  • LogicSplit diff into safe vs destructive
  • ActionApply additive ALTER TABLE DDLSnowflakeSnowflake
  • ActionArchive applied/skipped DDL audit logShell
  • OutputPost reconciliation summary to SlackSlack

What it does

This workflow closes the loop on reconciliation. It diffs BigQuery against Snowflake, then for purely additive drift (new columns, widened types) it generates and executes the corresponding Snowflake DDL automatically. Destructive or ambiguous changes (drops, narrowing, renames) are never auto-applied; they are collected into a report for a human to decide.

When to use it

Use it when most upstream changes are safe column additions you are tired of hand-applying, but you still want a guardrail against anything that could lose data. It removes the toil of routine ALTERs while keeping risky changes under human control.

How it works

  1. 1A scheduled trigger runs the reconciliation pass.
  2. 2It reads the BigQuery and Snowflake schemas for the watched tables.
  3. 3A logic step splits the diff into safe-additive versus destructive buckets.
  4. 4It runs the generated additive ALTER statements against Snowflake.
  5. 5A shell step archives the applied and skipped DDL as an audit artifact.
  6. 6A summary report posts to Slack, flagging anything left for manual review.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect BigQueryDatasets, queries, schemas.
  2. 2
    Connect SnowflakeWarehouses, queries, shares.
  3. 3
    Connect ShellRun sandboxed commands inside the workspace.
  4. 4
    Connect SlackChannels, DMs, threads, mentions.
  5. 5
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  6. 6
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  7. 7
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.