Skip to content
  • There are no suggestions because the search field is empty.

Fabric Warehouse Data Vault

Applies to
Platform: Fabric Warehouse
Architecture: Data Vault

Fabric Warehouse Data Vault generates a Stage, Raw Vault and Business Vault with stored procedure loaders that a Python load control runs. Select the Generator Configuration Fabric Warehouse Data Vault when you add a project whose Data Vault runs in a Fabric Warehouse.

Hierarchy Flatten is not supported on Fabric Warehouse; validation reports warning ID-35003, see Model object type not supported on Fabric Warehouse (Business Rule).

Scope and output

  • Platform: Microsoft Fabric Warehouse. The configuration is available since Generator 2.0.
  • Dataflow Modeling columns: Source; Stage under Bronze; Raw Vault and Business Vault under Silver. See Understand the Layering concept.
  • Deployment layers: Stage, Raw Vault and Business Vault.
  • Output: T-SQL deployment notebooks, a deployment pipeline definition and Python load control notebooks, described in Fabric Warehouse - Artifacts.

Solid arrows are dataflows between the Dataflow Modeling columns of the project; dashed outlines mark columns of linked projects, and dashed arrows are their dataflows:

Layer flow of a Data Vault project: data flows from Source into Stage, from Stage into Raw Vault and from Raw Vault into Business Vault. Raw Vault can also read Stage, Data Store or Raw Vault objects of a linked project; Business Vault can also read Raw Vault or Business Vault objects of a linked project.

Prerequisites

  • A Fabric workspace with a warehouse for the target layers and a lakehouse for the load control execution log. The deployment creates missing schemas and the log as a Delta table, but no warehouse.
  • An Azure Key Vault with the tenant ID, client ID and client secret of a service principal, which the load control notebook uses to connect to the warehouse.

A setup example is in Fabric Warehouse - Target environment, the placeholders in Fabric Warehouse - Placeholder values.

Sources and linked projects

Stage source views read each source table by its three-part name [<database>].[<schema>].[<table>]. The source system has the type Microsoft Fabric Warehouse, and its database and schema names are placeholders. Source systems per generator configuration lists the discovery types.

You can import a linked project as a source and export this project as a linked project.

Supported model objects

Source and Stage

Raw Vault

Business Vault

Capabilities and limitations

  • Keys: primary keys and unique constraints are created as NONCLUSTERED and NOT ENFORCED.
  • Foreign keys: Foreign Key Mode offers None and Create Disabled (default), which creates the foreign keys as NOT ENFORCED constraints. Create Enforced is not available.
  • Indexes: index management is not available, and the generated tables have no indexes.
  • Identity values: the tables have no IDENTITY columns. A loader computes identity values such as BG_ID as the current maximum in the target plus ROW_NUMBER().
  • Unknown member: the deployment adds a row with the hash key 0x00 and the source system Unknown to Hubs, Links, Satellites, Link Satellites and Multi-Active Satellites when the row is missing. Custom Singleton Values sets its values.
  • Hashing: hash keys and row hashes are HASHBYTES('SHA1', ...) with the default Hash Algorithm, cast to and stored as VARBINARY(20). See How biGENIUS-X builds hash values.
  • Validity: with the default Persist Validity on, historized tables have a BG_ValidToTimestamp column.
  • Change detection: changes to Satellite terms selected in Excluded from Delta Detection alone create no new version.
  • Loading order: Use Embryo Loader on a relationship adds a loader that inserts missing Hub or Link keys before the Satellite loader runs.
  • Data quality: data quality rules are available.
  • Deployment: the pipeline definition runs the load control deployment first, then the deployment notebooks in order. See Fabric Warehouse - Deployment.
  • Data types: validation reports warning ID-35000 when the length, precision or scale of a term does not fit its Fabric Warehouse data type. Warning ID-35001 flags a business key term of type varchar(max) or varbinary(max), because constraints on it could block the deployment.

Project properties

The configuration offers these project properties, with their defaults:

Data types

Default Term data types by platform lists the data types of the Default Terms on Fabric Warehouse.

Platform differences

The table compares the configuration with Microsoft SQL Server Data Vault of the same release:

ItemFabric WarehouseMicrosoft SQL Server
Persist Validity defaultonoff
Enforced foreign keysnot availableavailable
Index managementnot availableavailable
Artifact Output Modenot availableavailable
Target Object Comment Typenot availableavailable
LoadControl OptionsMulti-Threading NotebookNative Load Control, Airflow
Notebook Deployment Objects Limitavailablenot available

Example

A Hub common_customer with the business key term CUSTOMER_ID generates this table. The excerpt shows the example schema rdv in place of the placeholder and adds line breaks:

CREATE TABLE [rdv].[RDV_HUB_common_customer] (
     [BG_LoadTimestamp] DATETIME2(6) NOT NULL
    ,[Hub_HK] VARBINARY(20) NOT NULL
    ,[BG_SourceSystem] VARCHAR(255) NULL
    ,[CUSTOMER_ID] INT NOT NULL
)
;
ALTER TABLE [rdv].[RDV_HUB_common_customer]
    ADD CONSTRAINT [PK_RDV_HUB_common_customer]
    PRIMARY KEY NONCLUSTERED ([Hub_HK]) NOT ENFORCED;
ALTER TABLE [rdv].[RDV_HUB_common_customer]
    ADD CONSTRAINT [UC_RDV_HUB_common_customer]
    UNIQUE NONCLUSTERED ([CUSTOMER_ID]) NOT ENFORCED;

Release differences

Project Settings shows the Generator Version of your project.

  • Generator 2.0: first release of the configuration.
  • Generator 2.2: Vault Out; the project properties Persist Validity, Create Result Views and the four Hash properties; the model object property Increment Management Type; the relationship property Use Embryo Loader; the validation warnings ID-35000 to ID-35003.
  • Generator 2.3: the model object property Custom Singleton Values.
  • Generator 2.4: Non-Historized Satellite and Non-Historized Business Satellite; the model object property Excluded from Delta Detection.

Related articles