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

Use linked projects

Linked projects split a data solution into smaller projects: one project exports model objects, and another project imports them and builds on them. Use them when different teams model the sources, the core and the marts, or when several projects need the same model objects. Each project then keeps its own model, branches and artifacts, and reads the model objects of the projects it links.

The Import and Export options of the Data Connections page need the license feature Linked projects. Without it, the page does not show them.

How linked projects work

A linked project connects two projects through an export file:

  • The providing project exports model objects on the Data Connections page, with Export and Add Export. The export goes to a file download or, as a Data Contract, to a Data Product of the Data Marketplace. The file has the structure of the model object YAML files.
  • The consuming project imports the file on the Data Connections page, with Import and Add Import. Each import keeps its versions, the Import Versions. When the providing project changes, you add its new export file with Add Version. The Compare step shows the changed and deleted model objects, and Update applies the changes: it deletes the model objects marked D, with the term mappings that read them.
  • From an Import Version, you create model objects in the consuming project, as you create Source model objects from a discovery. Linked projects are therefore an alternative to a discovery when the structure you build on is already modeled in another project.
  • An imported model object whose model object type belongs to a project type of the consuming project's generator configuration appears in the Dataflow Modeling column of that project type, for example an imported Hub in the Raw Vault column. All other imported model objects appear in the Linked column.

Trade-offs

  • Responsibility: each project can belong to another solution, so a team sees and changes only its own projects, see Understand Solutions and Projects overview.
  • Change: a change in the providing project reaches the consuming project only when it is exported again and the new Import Version is used. Until then, the consuming project builds on the older version. The consuming project cannot import a file that a newer generator version exported; upgrade its generator version first.
  • Deployment and loading: each project is generated, deployed and loaded on its own. The consuming project must be loaded after the projects it links.
  • Shared load control: on Microsoft SQL Server and Oracle, several projects can share one load control, and only one of them deploys it. A deployment with Deploy LoadControl set to true recreates the load control tables and removes the configuration, execution plans and history of the other projects. The other projects therefore set Deploy LoadControl to false. On Databricks, Fabric Lakehouse and Fabric Warehouse, keep Deploy LoadControl true, because with false the artifacts contain no load notebook. Give each project its own load control schema or lakehouse instead. Set it in the load control placeholders of the placeholder values (Databricks, Fabric Lakehouse, Fabric Warehouse). These placeholders are prefilled the same in every project. With the default Deployment Options, a deployment into a shared location replaces the logs of the other projects.

The load order and the shared load control are described per platform:

Example

A data solution has three solutions with seven projects. The arrows point from the exporting project to the project that imports it:

Example structure of linked projects in three solutions. Solution 1, Sources, holds Project 1 CSV files, Project 2 MySQL database and Project 3 Data lake. All three feed Project 4 Data Vault modeling in Solution 2, Core. Project 4 feeds Project 5 Financial Mart, Project 6 Marketing Mart and Project 7 Production Mart in Solution 3, Data Marts.

  • Solution 1, Sources: experts for the source systems stage the CSV files, the MySQL database of the online shop and the data lake of the ERP system, one project each.
  • Solution 2, Core: Project 4 imports the three source projects and builds the Data Vault model on them.
  • Solution 3, Data Marts: business experts build one mart project per business area. Each imports Project 4.

Related articles