Reverse Metadata Agent
The Reverse Metadata agent propagates metadata changes from Collate back to a source system. You add it to a service. After it is deployed, updates that you make in Collate to the descriptions, owners, or tags of the service’s assets are applied to the source. Collate stays the single source of truth while the connected systems stay aligned.Supported Connectors and Features
Overview
The agent automatically syncs metadata changes such as:Descriptions
When you update the table or column descriptions in Collate, these changes will get updated in the selected data assets based on your defined logic. Example:- The
customer_orderstable in Collate has the description updated to: “Stores historical order transactions from all regions.” - This updated description is written back to the
customer_orderstable using the agent as per your defined logic.
Owners
You can assign ownership (individuals or teams) to data assets in Collate and sync this information back to the data source. Example:-
You assign John Doe as the owner of the table
customer_datain Collate. - This ownership info is saved in the original system’s metadata, making it easier to identify responsibilities and understand data flow.
Tags
Tag metadata (likePII, sensitive, finance-related, etc.) applied in Collate can be sent back to the source system to enforce governance policies.
Example:
- You apply the tag
PII.Sensitiveto theXYZdata asset. - If the logic is defined, this tag will also be updated in the corresponding data asset in the source system.
Key Features
- Automated Metadata Propagation: Sync metadata updates (tags, owners, descriptions) from Collate to source systems without manual intervention.
- Per-Service Agents: Add one agent to each service and choose which metadata types and assets to sync. Once deployed, changes sync automatically.
Custom SQL Templates
Use SQL templates to customize update behavior per connector.Use Cases
- Maintain consistent metadata across Collate and Database by syncing SQL-based description updates.
- Improve data discovery by propagating column-level comments from Database back into Collate.
- Strengthen governance by capturing ownership changes in Database through SQL and syncing them to Collate.
- Enhance metadata visibility by syncing Database tag updates (e.g., PII.Sensitive) into Collate.
- Drive metadata accuracy by reflecting schema description changes in Database directly within Collate.
- Unify metadata management by capturing SQL-applied labels in Database and syncing them automatically to Collate.
How SQL Templates Work
Use the following SQL templates to filter your database operations and automatically trigger reverse metadata sync when these queries are executed.Update Description in Snowflake
SQL Variable:-Update Table Owner in Databricks
SQL Variable:-Update Tags in BigQuery
SQL Variable:-Add a Reverse Metadata Agent
A service can have one Reverse Metadata agent. Collate names its pipelinereverse_metadata.
To add the agent, follow these steps:
- Open the database service, or the Tableau service, that you want to sync changes to.
- Select the Agents tab.
- Under Metadata Agents, click Add Agent, then select Add Reverse Metadata.
- Fill in the agent settings. See Agent Settings.
- Click Add & Deploy.
Agent Settings
Turn on at least one of Update Descriptions, Update Owners, or Update Tags. Otherwise the form shows the error “Enable at least one update option.”
Sink Service
The Sink Service field sends the changes to a different service instead of the service that the agent belongs to. Enter the name of a security service, such as Apache Ranger. Only security services work as a sink service. The person who last edited the agent needs theEditAll permission on the sink service, unless that person is an admin. If the service name is unknown, or the permission is missing, the run fails and the run history shows the error.
Example: You have a Trino service in Collate, and you want to send tag changes to your Apache Ranger service.
- Open the Trino service and add a Reverse Metadata agent.
- Turn on Update Tags.
- Enter
ranger_servicein Sink Service.
ranger_service instead of Trino.
Run and Monitor the Agent
Collate sends the changes to the source after you update the description, owners, or tags of an asset that belongs to the service. Collate sends only updates to existing assets. It applies the changes to tables, schemas, databases, dashboards, and charts. Collate collects the changes and sends them in batches, and a run that lasts longer than 1 hour is stopped. To review the runs, click View run history on the agent. Each run lists the operations it applied. For an operation that fails, the history shows the table or column and the error, for example “Error on reverse ingestion”. If a run can’t start, for example because the sink service name is unknown, the history shows “Could not start the run” with the reason.If you manage the Collate server yourself, set the
REVERSE_METADATA_ENABLED environment variable to true. The agent doesn’t run when the variable is unset or false.