Use cases · Media and entertainment
Know your audience.Everywhere at once.
Streaming, social and ad data live in separate systems. Joining them by hand never ends.
A new channel every quarter.
A media warehouse answers two kinds of question. The campaign desk wants to know what ran, where and to whom, by the hour. Finance and rights want to know what was watched, under which contract, so royalties and partner statements add up at month-end. Both answers come from sources that are nothing alike.
None of this is exotic. Staging, history and star schemas handle all of it. What breaks teams is hand‑building each new feed from scratch, a little differently every time, while next quarter's channel is already in the queue. BimlFlex builds the whole warehouse from one model instead, so a new source is metadata and a rebuild.
APIs, not databases
Ad platforms and partner services answer over REST in JSON. No schema to import, just a sample payload and nested fields.
Files by the hour
Viewing and impression data is large and event-shaped, so it lands as Parquet or delimited files in cloud storage, hour after hour, and somebody has to read, load and archive each one.
Two clocks
Audience dashboards refresh hourly. Royalty and partner reporting runs nightly and has to be right, not fast.
A catalog that keeps changing
Titles are renamed and re-rated, carry one rating per territory, and leave the catalog when a license window closes. Contracts ask what was true on the day.
One subscriber, two systems
Billing and the CRM each know the same customer differently, and reports want both views as of any date.
Point it at the endpoint. Get the columns.
On a Rest Service connection, Import REST API takes a relative URL and an optional bearer token, calls the endpoint once with Sample and reads the JSON that comes back. The first array becomes the Collection Reference. Every field under it becomes a column with a type inferred from the sample: String, Int64, Double or Boolean.
Nested objects are flattened, so device.type arrives as its own column with the path $['device']['type'] already written as its source expression, in the bracket form Data Factory's REST source reads. Rename a column, fix a type, tick the key, then Import. Re-import later and your edits stay.
- One sample call, typed columns
- Nested fields flattened with their paths
- Runs as Data Factory REST sources
Connection: PARTNER_API
Drop the files. The load is already written.
Files land in a landing container in Azure storage, and the generated pipeline reads them in place. On Databricks, the load selects from a temporary view over read_files, with the format taken from the file definition and mergeSchema on by default, so files whose columns differ still read as one set. Prefer COPY INTO? It is one setting.
On Snowflake, each load creates a stage over the same landing folder and reads the Parquet files from there. When the load is done, the files move to the archive container, or are deleted if you would rather not keep them. The pattern is the same for every feed, and it comes from the same model as everything else.
- Parquet, JSON, Avro or delimited files
- Schema drift absorbed on read
- Archived or deleted after the load
Hourly for the campaign desk. Nightly for royalties.
A batch groups the loads that run together, and on Data Factory each batch can carry its own trigger. A Schedule trigger runs at a fixed recurrence in your time zone: every day at 02:00 for the royalty load. A TumblingWindow trigger cuts time into back-to-back windows of a fixed size, one run per window.
The generated pipelines receive each window's start and end time, and a file copy reads only the files modified inside its window, so every hour's run takes that hour's files and nothing else. Delay, maximum concurrency and retries are set on the same panel. Set them in the batch, build, and the triggers come out with the pipelines. Change the cadence later and nothing else moves.
- Schedule or TumblingWindow per batch
- Each window reads its own files
- Retries and concurrency in the model
A title leaves. Its history stays.
When a license window closes, the title drops out of the catalog feed. It does not send a delete, it just stops arriving. With delete detection on, each cycle compares the keys the source still has with the ones already loaded, and every missing key gets a new satellite row with change type D.
Nothing is removed. The earlier versions keep their dates, so the warehouse can still say the title was rated PG until March, 12 from then, and gone after November 4. Royalty statements for the months it streamed still join to it. On Snowflake the real generated procedure is a few statements: insert the D row, then end-date the row before it.
- Missing keys become D rows
- Earlier versions end-dated, never deleted
- Past statements still join
One title, every territory at once.
Some attributes are many at once. A title has one rating in the US, another in the EU and a third in APAC, all valid on the same day. A plain satellite would treat each new territory as a change and overwrite the last one.
In the Columns grid, set the territory column's change type to Multi Active Row and make it part of the primary key with the integration key. The satellite now keeps one row per title and territory, each with its own history. Use it for language tracks, release dates per region or anything else that is several things at once and keyed by something that does not change.
- One change type, one key column
- A row per territory, all current
- Each territory versioned on its own
Billing and CRM. One customer, any date.
Billing knows the plan and the payment status. The CRM knows the region and the marketing consent. In a Data Vault each system keeps its own satellite on the same customer hub, keyed by record source, so neither overwrites the other.
Reports want both at once, as of a date. A point-in-time table answers that: one row per customer per change, pointing at the satellite version from each system that was current at that moment. BimlFlex generates the PIT table and its load from the model, and the Dimensional Accelerator builds dimensions on top of it.
- A satellite per source system
- One PIT row per point in time
- The base for every dimension
Viewing by daypart, out of the box.
Analysts want star schemas: viewing and impression facts by title, campaign, channel, date and time of day. The Dimensional Accelerator derives dimensions and facts from your model, hubs with PITs as dimensions and links as facts, and the load code covers Type 1 and Type 2 dimensions, surrogate keys and inferred members.
Time of day is a dimension of its own. Create Time Dimension builds a clock at the grain you pick (24, 1,440 or 86,400 rows) with hour, quarter-hour and half-hour bands, business hours from your start and end time, and a DayPart column: Night, Morning, Afternoon and Evening. The view is generated for SQL Server or Snowflake.
- Stars from the model you already have
- A clock by hour, minute or second
- Dayparts and business hours included
Pick the tool for the team you have.
All three run on Biml. BimlFlex generates the whole warehouse from one model, from API and file sources through history and stars, for SSIS, Data Factory or Databricks, loading SQL Server, Azure SQL Database, Synapse, Snowflake or Databricks. Global lineage traces a dashboard column back through the layers to its feed, column by column wherever mappings and keys establish the link. Every BimlFlex subscription includes BimlStudio. BimlExpress is the free add-in for Visual Studio 2012 to 2019: one BimlScript template loops over every delivery feed and writes its staging table and SSIS package. BimlStudio is the full IDE for teams with years of hand-built SSIS feed packages: import them as Biml, keep them in source control and build on every commit.
If youBring ad APIs, hourly files and the catalog into one warehouse, with history and stars on Databricks or Snowflake
If youRun a dozen partner file feeds into SSIS and need the next one by Friday
If youKeep years of hand-built SSIS ratings and delivery packages that need diffs, reviews and CI builds