The Warehouse Builder

The Warehouse Builder is a Mind that builds and maintains Warehouse objects for you: facts, dimensions, static tables, dictionaries and views, together with the transformations that load them. It does the work a Warehouse administrator does by hand, in the same order and with the same checks, and it stops for your decision wherever a step needs one.

What it can build

Its answers can also carry KPI cards, charts, diagrams and links to the objects it touched, covered on Links, KPIs and diagrams in the Warehouse Builder.

Before it builds, it asks once

The build order

The order is fixed, and nothing moves on until the step before it is checked:

  1. Plan. For work with several steps it publishes a plan and keeps it updated while it builds. The plan strip is described on How a Mind answers.
  2. Prerequisites. It creates or reuses the semantic source, the source systems and the logical model the objects belong to. Dimensions are built before the facts that point at them; views, dictionaries and static tables come after.
  3. The table. It creates the table, saves its columns and keys, and deploys it. A table must be deployed before anything can be tested against it.
  4. The transformation. It writes the query, validates it, saves it, and maps every target column. See Build, test and finalize a transformation for what each of those steps does in the screens.
  5. The test. It runs a test over a small window, waits for it, reviews the output and finalises only a test it reviewed and that finished.
  6. The full load. It restores the window, backfills the history and checks the table's health.
  7. The hand-over. It reports what was built and leaves the schedules for you.

How the work is proven

Load patterns and history

Runs, failures and retries

What is left for you

Questions, answered

How do I start a build with the Warehouse Builder?

Open a chat with the Warehouse Builder Mind and describe what you want built or fixed. It reads a little first, asks its questions in one batch and starts building after your confirmation. How a builder Mind is created is on Warehouse Builder and Lake Builder.

What do I do on the confirmation card it shows first?

It is confirming that it read your request correctly before anything is built. Choose Correct, build it to let it start, or the correction that fits, such as Different grain or Different source; a multi-object plan carries the plan's choices, such as Build as planned, Change something first or Dimensions only for now. Typing your own answer also works.

Which load pattern will it choose for my table?

For a fact, the periodic reload with a 60-day window, unless your data or your answers point elsewhere; a dimension starts from a full reload. One-off loads can be full reloads, growing data can use a diff insert, and heavy windows can run in a loop. The pattern locks when the transformation is created, so say at the start if you need something specific. See Transformation patterns and load settings.

Why does it ask about the grain, the key and the date?

Because it cannot work those out safely, and they decide the table's shape and its loads. A wrong grain is not fixed by editing the query later; it means rebuilding the table. So it asks in one batch before it builds instead of guessing.

Why did it test with only a few days of data?

To keep the test fast and safe. It shrinks the load window to a few days and tests against a date that has source rows. The full history is loaded afterwards, when the window is restored and the backfill runs; the test is not meant to cover it.

Why did the backfill cover only a few days?

A window that was not restored first becomes the backfill's window. The builder restores the window before backfilling, so a short backfill means the window still pointed at the test's few days; ask it to set the window back to the depth you want and backfill again.

Why does a fill report "Output Contains Duplicates in Source ID"?

The fill wrote the same identifier twice. For a dimension, Output Contains Duplicates in Source ID means the identifier is not unique across the result; for a fact, Output Contains Duplicates in Source ID Per Partition means the same day and identifier appear twice in one part of the table. The builder treats both as grain problems and reworks the query before loading anything. If the repetition is genuinely in your data, tell it, because the key or the date needs a different definition.

Why did it stop after the same error three times?

That is its retry limit. When the same error survives three attempts, it stops and reports what it found instead of looping. Read what it says and answer with what should change, and it continues from there.

Can it design a DataPrism semantic model as well?

Yes. A semantic model can be designed in a Warehouse Builder chat: one batch of questions, one design card to approve, and the model is created with your choices. Its objects and measures are then filled by the model's own AI. See Design a model with the Warehouse Builder.

What is left for me to do after a build?

Two things. Switch on the schedules you want, in the Warehouse or the Workflows screens, because the builder never switches one on itself. And read its closing report for what was built, what it found and anything still open. Nothing else waits on you unless it asked a question.