-
Notifications
You must be signed in to change notification settings - Fork 213
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Hi Team,
Our organization applied Data Mesh architecture to our EDW. Which means we have a lot of Data Product maintained by multiple Teams and they are related to each other. Therefore, we would like to have the ability to include or refer some objects from other DBML to avoid duplicating Table Definition everywhere it's used.
For example, we could describe TABLE_C which link to TABLE_A and TABLE_B in another project like this:
Include 'project/docs/dbml/dataproduct.dbml' {
provider: 'gitlab'
token: '$GITLAB_TOKEN'
table: [TABLE_A, TABLE_B]
}
Include './internal_dataproduct.dbml' {
provider: 'file'
table: [TABLE_D]
}
Table TABLE_C {
column_a string [ref: - TABLE_A.column]
column_b string [ref: - TABLE_B.column]
column_c long
column_d string [ref: - TABLE_D.column]
}
We expected that all relationships between TABLE_A and TABLE_B will be included but none of other tables.
Best regards
Long
ryanproback, baruchvlz, NattyPluz and H-DNA
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request