Skip Child Resource Loading for On-Demand Sync¶
Configure the Databricks Unity Catalog connector so on-demand sync loads only the resources that were requested, instead of descending into the full subtree.
Overview¶
By default, an on-demand request for a parent resource (for example, a catalog or schema) causes the connector to load that parent and all of its children. When skip-child loading is enabled, the connector:
- Loads only the resources named in the on-demand request
- Skips JDBC loads for child resources that were not requested
- Retains already-stored children so reconciliation does not delete them
- Honors the
*wildcard for tables to load all tables under a schema (for example,catalog.schema.*)
Use this when on-demand requests, including Event Hub events and API-triggered requests, often target parent-only resources and a full subtree scan is unnecessary overhead.
Configuration property¶
-
Property name:
CONNECTOR_DATABRICKS_UNITY_CATALOG_ONDEMAND_SKIP_CHILD_LOAD_ENABLEDValue Behavior false(default)On-demand requests descend and load the full subtree under the requested parent trueOn-demand requests load only the resources named in the request: skip unrequested children, retain already-stored children, and honor *for tables to load all tables under a schema (for example,catalog.schema.*)
Warning
When CONNECTOR_DATABRICKS_UNITY_CATALOG_ONDEMAND_SKIP_CHILD_LOAD_ENABLED is set to true and an on-demand request targets only a parent (for example, a schema with no table key), children that already exist in the connector store are retained, not reloaded. Send an explicit table request or use * (for example, catalog.schema.*) when you need those tables refreshed from Unity Catalog.
Setup¶
-
Navigate to Settings → Applications in the Self-Managed Portal.
-
From the list of Connected Applications, select Databricks Unity Catalog.
-
Select the application name or the icon to edit. Then, go to the Access Management tab.
-
Under the ADVANCED tab, under Add New Custom Properties, add:
Properties -
Select SAVE to apply the changes.
-
SSH to the instance where Privacera Manager is installed.
-
Run the following command to open the
.ymlfile to be edited.If you have multiple connectors, then replace
instance1with the appropriate connector instance name. -
Add or set the following property:
YAML -
Once the property is configured, run the following commands to update your Privacera Manager platform instance:
Step 1 - Setup which generates the helm charts. This step usually takes few minutes.
Step 2 - Apply the Privacera Manager helm charts. Step 3 - (Optional) Post-installation step which generates Plugin tar ball, updates Route 53 DNS and so on. This step is not required if you are updating only connector properties.
- Prev topic: Advanced Configuration