Configuring the Metadata Sync files

New in Version 6.1

K uses the alert feature to configure the metadata sync files to Snowflake.


Prerequisite

Before you configure the alert you will need to configure a Storage account for the alert to deliver the metadata sync file to.


Creating the Metadata Sync files

You will need to create a search for each asset type you want to update in Snowflake and an extract from your glossary of the terms you want to sync

  • Snowflake Tables & Views

  • Snowflake Columns for Tables

  • Snowflake Columns for Views

  • Terms

As the the process in the Metadata sync manages column updates differently if the columns belong to a table or a view, we create 2 different files for each.

The following steps assume you want to sync the default attributes:

  1. Comments will be updated with [description] + [list of term + term description]

  2. List of tags: category, classification, domain, owner, steward, pii_data_detected.

Snowflake Tables & Views file

Go to search

Apply the following filters

  1. Asset = Table

  2. [Optional] Database = Select the databases where the tables you want to update belong to

  3. [Optional] Schema = Select the schemas where the tables you want to update belong to

Add the following columns

  1. Terms (if you want to sync glossary terms)

  2. PII data detected (if you want to sync PII tags)

Remove the following default columns

  1. Trust

Save the search as “snowflake_[env]_table_sync”

Snowflake Columns for Tables / Views

Go to Linked Search

Select Find Column - Filter by Table

image-20260909-121038.png

Apply the following filters

On the Table side

  1. Asset = Table

  2. Asset Subtype = Table

  3. [Optional] Database = Select the databases where the tables you want to update belong to

  4. [Optional] Schema = Select the schemas where the tables you want to update belong to

Go to the Column side

Add the following columns

  1. Terms (if you want to sync glossary terms)

  2. PII data detected (if you want to sync PII tags)

Remove the following default columns

  1. Trust

Save the search as “snowflake_[env]_column_tbl_sync”


Repeat the above but change the Table Subtype = View.

Save the search as “snowflake[env]_column_vw_sync

Terms file

Go to search

Apply the following filters

  1. Asset = Collection Instance

  2. Collection = Select the glossaries you want to sync

Remove all columns except for Description

Save the search as “snowflake_[env]_term_sync”


Configuring the File delivery to the Storage account

Go to Saved search.

Click on more options on the snowflake_[env]_table_sync search

Select Create Alert

image-20260909-121420.png

In the Alert modal

  • Set the alert to the following name: snowflake_[env]_table_sync

    • Use the following names for the column alerts:

      • snowflake_[env]_column_tbl_sync

      • snowflake_[env]_column_vw_sync

    • Use the following name for the term alert

      • snowflake_[env]_term_sync

  • Set the path to /tables

    • use /columns for the column alerts. The same folder can be used to store both column files

    • use /terms for the term alert.

  • Set the file format to GZ

  • Set a delivery frequency.

  • Select run now

  • Click Save

image-20260909-121457.png

Change history

Version 6.1 ·

  • New   New page explaining how to configure the metadata sync files to Snowflake.









Last updated: