Learn

Fifty pipelines.One template.

Copy, paste, rename, repeat is not a strategy.

The problem

Every pipeline does the same jobs.

Open any production load and you find the same steps. Log that the run started. Work out the load window. Copy the rows into a landing table. Hash and compare them so only real changes go on. Write the history. Log the row count, the new high-water mark and the end of the run, and catch the error if a step fails.

Only the table name and its columns differ from one pipeline to the next. Built by hand, that is the same handful of steps typed fifty times. Each copy drifts a little, and when the pattern needs a fix, someone opens all fifty.

The idea

Write the pattern once. Generate the rest.

Pipeline automation splits the work into three parts. The pattern is the load logic, written once, with placeholders where the table goes. The metadata is the list it runs over: tables, columns, keys, load windows. Generation expands the pattern for every entry in the list and writes native code: SSIS packages, Data Factory pipelines, stored procedures.

The generated code is build output. Nobody edits it by hand. To change every pipeline, change the pattern and generate again. To add a table, add it to the metadata.

  • One fix in the pattern reaches every pipeline
  • A new table is a new metadata row, not new code
  • Patterns and output are text you can diff and review
Where the transform runs

ETL or ELT. Same model.

ETL transforms the rows on the way in, inside an integration engine such as an SSIS data flow. ELT copies the rows as they are into a landing area on the target platform, then transforms them where the data lives, as stored procedures or SQL in the warehouse. ELT, also called pushdown, puts the heavy work on the database engine.

In BimlFlex the choice is a project setting. For an SSIS project, tick Pushdown Processing and BimlFlex generates the loads as stored procedures that run in the database, with the packages left only to orchestrate them. Leave it off and the same model builds SSIS data flows. Data Factory projects are ELT by design: a Copy Activity fills the landing table and stored procedures do the rest.

High-water marks

Load only what changed.

A full reload of every table every night stops scaling. An incremental load keeps a high-water mark, the highest change date it has loaded, and asks the source only for rows after it. Done well, it also caps the window at the current maximum, so a row written mid-run waits for the next load instead of slipping through.

In BimlFlex this is a Load Parameter on the column. Give it an operator, a default for the first run and an end-of-window name, and every generated pipeline reads the last value from the BimlCatalog, filters the source query between the two marks and saves the new mark after a successful load. Each change of value is kept in the catalog's history.

BimlFlex · Generated code

The whole load, as code you can read.

Behind each pipeline sits the transform itself. BimlFlex generates the staging procedure that builds the business key, hashes every column into a row hash, and compares each row with the one before it, so only real changes reach persistent staging and the vault.

The same model writes that procedure in the target's own dialect: T-SQL with HASHBYTES for SQL Server, a Snowflake procedure with SHA1_BINARY for Snowflake. Delete detection, when you switch it on, adds its own extract and apply procedures. It is all plain text in your build output, ready to review and deploy with your own tools.

BimlFlex · Orchestration

Batches, logging and restarts, built in.

Generated pipelines come wrapped in an orchestration framework. Every batch and every pipeline logs its start, row counts, errors and end to the BimlCatalog, the runtime database that tracks each execution and controls how failed processes restart.

A project belongs to a batch, and BimlFlex generates the batch pipeline that runs its loads in order. For Data Factory it splits large batches into sub-batches so the output stays within the service's limits on activities per pipeline.

BimlExpress · Free

Fix the template, not the packages.

BimlExpress is the free Biml add-in for Visual Studio 2012 to 2019. Write the pattern in Biml with BimlScript loops, read the table list straight from the source with ImportDB, and press Generate SSIS Packages. You get one package per table in the SSIS Packages folder.

Tiers keep the build in order: connections first, then table metadata, then packages. Add an audit column to the template once and it appears in every staging table, and in every package that loads one. BimlExpress for VS Code, now in preview, adds SSIS 2022.

BimlStudio · 14-day free trial

One change, every package. On your build server.

BimlStudio is the Biml IDE for teams that run their own framework. Expandable Transformers apply one change across a whole project: write the change once, pick the packages or Select All, and press Transform. Every package gets the new variable, step or audit pattern.

The bimlc command-line compiler builds the same project with no one at a keyboard, so a CI pipeline can fail the build on any error or warning. BimlStudio also writes SSIS projects, not only packages, and imports existing SSIS packages into Biml.

Your way in

Pick your way in.

All three run on Biml, the XML language for data warehouse assets, with BimlScript to loop over metadata. The difference is how much of the pattern you write and which platforms you target.

BimlFlex
BimlExpress
BimlStudio
You have
BimlFlexA warehouse to load, on one or more platforms
BimlExpressSSIS packages built by hand, and want a template
BimlStudioA team framework that must build in CI/CD, or an SSIS estate to bring in
The pattern
BimlFlexReady-made: delta windows, row hashing, delete detection, logging, batches
BimlExpressYou write it in Biml and BimlScript
BimlStudioYou write it, and transformers apply changes everywhere
ETL or ELT
BimlFlexEither: SSIS data flows, or ELT pushed down to the target with SSIS, Data Factory or Databricks
BimlExpressETL in SSIS packages
BimlStudioETL in SSIS packages and projects
Targets
BimlFlexSQL Server, Azure SQL Database, Azure Synapse, Snowflake and Databricks
BimlExpressSSIS
BimlStudioSSIS
Price
BimlFlexSubscription, BimlStudio included
BimlExpressFree
BimlStudio14-day free trial
BimlFlex
You have
A warehouse to load, on one or more platforms
The pattern
Ready-made: delta windows, row hashing, delete detection, logging, batches
ETL or ELT
Either: SSIS data flows, or ELT pushed down to the target with SSIS, Data Factory or Databricks
Targets
SQL Server, Azure SQL Database, Azure Synapse, Snowflake and Databricks
Price
Subscription, BimlStudio included
See pricingContact sales
BimlExpress
You have
SSIS packages built by hand, and want a template
The pattern
You write it in Biml and BimlScript
ETL or ELT
ETL in SSIS packages
Targets
SSIS
Price
Free
Download freeGet started
BimlStudio
You have
A team framework that must build in CI/CD, or an SSIS estate to bring in
The pattern
You write it, and transformers apply changes everywhere
ETL or ELT
ETL in SSIS packages and projects
Targets
SSIS
Price
14-day free trial
Start the free trialCommand-line builds

Stop copying pipelines. Generate them.

BimlFlex pricing is online. Buy there, or talk to sales for quotes, resellers and large teams.