Occasionally there may be a need to modify the catalog's structure before deploying it to the server. For example, if the table should be added to the Source DB interface but this change has not yet been performed by the 3rd party, or to reflect future project changes.
To support this requirement, Fabric provides an override catalog option that includes adding new data entities or modifying the properties of existing entities using override.catalog files.
{
"nodes": [
]
}
The following override.catalog file adds a Test2 Logical Unit with a TestCustomer table to the testCatalogDB project's Data Catalog:
{
"nodes": [
{
"type": "SCHEMA",
"id": "PROJECT:testCatalogDB.SCHEMA:Test2",
"name": "Test2",
"project": "testCatalogDB",
"links": [
{
"type": "CONTAINED",
"other": "PROJECT:testCatalogDB"
}
]
},
{
"type": "TABLE",
"id": "PROJECT:testCatalogDB.SCHEMA:Test2.TABLE:TestCustomer",
"name": "TestCustomer",
"project": "testCatalogDB",
"properties": {
"schema": "Test2",
"fullTextSearch": false,
"isCdc": false,
"shouldTruncateTable": true,
"rootObjectInLUDB": false,
"numberOfColumnsInObject": 5
},
"links": [
{
"type": "CONTAINED",
"other": "PROJECT:testCatalogDB.SCHEMA:Test2"
}
]
}
]
}
Occasionally there may be a need to modify the catalog's structure before deploying it to the server. For example, if the table should be added to the Source DB interface but this change has not yet been performed by the 3rd party, or to reflect future project changes.
To support this requirement, Fabric provides an override catalog option that includes adding new data entities or modifying the properties of existing entities using override.catalog files.
{
"nodes": [
]
}
The following override.catalog file adds a Test2 Logical Unit with a TestCustomer table to the testCatalogDB project's Data Catalog:
{
"nodes": [
{
"type": "SCHEMA",
"id": "PROJECT:testCatalogDB.SCHEMA:Test2",
"name": "Test2",
"project": "testCatalogDB",
"links": [
{
"type": "CONTAINED",
"other": "PROJECT:testCatalogDB"
}
]
},
{
"type": "TABLE",
"id": "PROJECT:testCatalogDB.SCHEMA:Test2.TABLE:TestCustomer",
"name": "TestCustomer",
"project": "testCatalogDB",
"properties": {
"schema": "Test2",
"fullTextSearch": false,
"isCdc": false,
"shouldTruncateTable": true,
"rootObjectInLUDB": false,
"numberOfColumnsInObject": 5
},
"links": [
{
"type": "CONTAINED",
"other": "PROJECT:testCatalogDB.SCHEMA:Test2"
}
]
}
]
}