Fabric Warehouse Data Store
Applies to
Platform: Fabric Warehouse
Architecture: Data Store
Fabric Warehouse Data Store generates a Stage and a Store layer for Fabric Warehouse as T-SQL notebooks with a notebook load control. Select the Generator Configuration Fabric Warehouse Data Store when you add a project whose Data Store runs in a Fabric Warehouse.
Scope and output
- Platform: Microsoft Fabric Warehouse. The configuration is available since Generator 2.0.
- Layers: Source, Stage and Store. Dataflow Modeling shows Stage and the Data Store in the Bronze column. See Understand the Layering concept.
- 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 layers of the project; dashed outlines mark layers of linked projects, and dashed arrows are their dataflows:

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
Capabilities and limitations
- Keys: a Store Entity has no hash key and no surrogate key. Its primary key is the business key; a historized Store Entity adds
BG_ValidFromTimestampin front. Keys are created asNONCLUSTEREDandNOT ENFORCED. - Change detection: Delta Detection on the Store Entity sets how rows are compared. The default
Hash Value ComparisoncomparesBG_RowHashScd1andBG_RowHashScd2. - Delete detection: Configure delete detection adds the column
BG_IsDeletedand a delete detection table, view and loader. - Data quality: Store Entity supports data quality rules.
- Indexes: index management is not available, and the generated tables have no indexes.
- Hashing: row hashes are
HASHBYTES('SHA1', ...)with the default Hash Algorithm, cast to and stored asVARBINARY(20). See How biGENIUS-X builds hash values. - Validity: with the default Persist Validity on, historized tables have a
BG_ValidToTimestampcolumn. - 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-35000when the length, precision or scale of a term does not fit its Fabric Warehouse data type. WarningID-35001flags a business key term of typevarchar(max)orvarbinary(max), because constraints on it could block the deployment.
Project properties
The configuration offers these project properties, with their defaults:
- Hash Algorithm:
SHA1; alsoSHA2_256andMD5 - Hash Casing:
None; alsoUpperandLower - Hash Concatenation Separator:
_ - Hash Null Placeholder:
_NULL_ - Hash Trim: off
- Begin of Universe:
19000101 - End of Universe:
99991231 - Persist Validity: on
- Create Result Views: on
- Configure LoadControl: on
- Deploy LoadControl: on
- LoadControl Options:
Multi-Threading Notebook - Notebook Deployment Objects Limit:
100 - Deployment Options:
Generate Drop Table Statements
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 Store of the same release:
| Item | Fabric Warehouse | Microsoft SQL Server |
|---|---|---|
| Primary keys | nonclustered, not enforced | clustered |
| Persist Validity default | on | off |
| Index management | not available | available |
| Artifact Output Mode | not available | available |
| Target Object Comment Type | not available | available |
| LoadControl Options | Multi-Threading Notebook | Native Load Control, Airflow |
| Notebook Deployment Objects Limit | available | not available |
Example
A Store Entity dd_deletedset_scd_0_1_2 with the business key term CUSTOMER_ID has SCD1 and SCD2 terms and delete detection. It generates this table. The excerpt shows the example schema store in place of the placeholder, leaves out seven columns and adds line breaks:
CREATE TABLE [store].[DS_SE_dd_deletedset_scd_0_1_2] (
[BG_LoadTimestamp] DATETIME2(6) NOT NULL
,[BG_UpdateTimestamp] DATETIME2(6) NOT NULL
,[BG_SourceSystem] VARCHAR(255) NULL
,[BG_ValidFromTimestamp] DATETIME2(6) NOT NULL
,[BG_ValidToTimestamp] DATETIME2(6) NULL
,[BG_IsDeleted] BIT NOT NULL
,[BG_RowHashScd1] VARBINARY(20) NOT NULL
,[BG_RowHashScd2] VARBINARY(20) NOT NULL
,[CUSTOMER_ID] INT NOT NULL
,[CUSTOMER] VARCHAR(100) NOT NULL
,[CUSTOMER_TYPE] VARCHAR(100) NOT NULL
)
;
ALTER TABLE [store].[DS_SE_dd_deletedset_scd_0_1_2]
ADD CONSTRAINT [PK_DS_SE_dd_deletedset_scd_0_1_2]
PRIMARY KEY NONCLUSTERED ([BG_ValidFromTimestamp], [CUSTOMER_ID])
NOT ENFORCED;
The table holds every version of a customer; the primary key starts with BG_ValidFromTimestamp. With Microsoft SQL Server Data Store, the same table has no BG_ValidToTimestamp column, and its primary key is clustered.
Release differences
Project Settings shows the Generator Version of your project.
- Generator 2.0: first release of the configuration.
- Generator 2.2: the project properties Persist Validity, Create Result Views and the four Hash properties; the model object properties Increment Management Type on Stage, and Delete Detection Partial Terms and Delete Detection Partial Operator on Store Entity; the validation warnings
ID-35000andID-35001.
Related articles
- Previous:
- Fabric Warehouse: Target environment
- Next: Generate artifacts, Replace the placeholders in the artifacts
- Fabric Warehouse: Artifacts, Deployment, Load data - Native load control
- Reference: Delta Detection (Model Object), Delete Detection Method (Model Object), Hash Algorithm (Project), LoadControl Options (Project), Notebook Deployment Objects Limit (Project), Deployment Options (Project)
- Fabric Warehouse: Placeholder values
- See also: Available Generator Configurations, Understand the Generator Configuration, Source systems per generator configuration, Use Linked Projects, Microsoft SQL Server Data Store
- Fabric Warehouse: Stage, Data Vault, Dimensional, Data Mart