Skip to main content

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_orders table in Collate has the description updated to: “Stores historical order transactions from all regions.”
  • This updated description is written back to the customer_orders table 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_data in Collate.
  • This ownership info is saved in the original system’s metadata, making it easier to identify responsibilities and understand data flow.
  • Team ownership is currently not supported in the reverse metadata sync process. Support for syncing team-based ownership may be introduced in future releases.
  • The owner update functionality currently supports syncing only a single owner back to the source system.
  • If an entity in Collate has multiple owners, only one owner will be propagated during the reverse metadata sync.
  • Support for syncing multiple owners is planned for future enhancements.

Tags

Tag metadata (like PII, 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.Sensitive to the XYZ data asset.
  • If the logic is defined, this tag will also be updated in the corresponding data asset in the source system.
Only Classification tags sync to the source system. Glossary terms applied to an asset are skipped, so they don’t stop the operation or block the Classification tag changes made in the same update. If a Classification tag in an update does not exist in Collate, the operation fails and the error names the tag’s fully qualified name.

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:-
Example:
This query updates the database description. When executed, it can trigger a reverse metadata update for description fields.

Update Table Owner in Databricks

SQL Variable:-
Example:
Use this to assign ownership of a table. You can specify email addresses, such as those under a particular domain, to trigger reverse metadata for ownership fields.

Update Tags in BigQuery

SQL Variable:-
example:-
This sets or updates schema-level labels, such as sensitive classifications. Useful for tagging metadata like PII & sensitive, to automatically trigger reverse metadata for Tags fields.

Add a Reverse Metadata Agent

A service can have one Reverse Metadata agent. Collate names its pipeline reverse_metadata. To add the agent, follow these steps:
  1. Open the database service, or the Tableau service, that you want to sync changes to.
  2. Select the Agents tab.
  3. Under Metadata Agents, click Add Agent, then select Add Reverse Metadata.
  4. Fill in the agent settings. See Agent Settings.
  5. 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 the EditAll 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.
  1. Open the Trino service and add a Reverse Metadata agent.
  2. Turn on Update Tags.
  3. Enter ranger_service in Sink Service.
When you change the tags of a Trino table in Collate, Collate applies the change to 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.