Core + Data Dictionary Attributes - Bulk Update

Export the attribute metadata to a .csv file, edit in a spreadsheet like Google Sheets or Excel, then use to perform a bulk update on core & data dictionary attribute metadata in DataPancake.

Open a new SQL file Snowflake workspace

Run a select statement for DATAPANCAKE.CORE.VW_DATASOURCE_ATTRIBUTE_DATA_DICTIONARY

The minimum field requirements to select are attribute_id, polymorphic_version_id - for example:

Select statement for data dictionary updates where source data type is an array

Select statement for updating attributes where source data types are primitive and object

circle-info

You can choose which editable fields you wish to include in your select statement.

Verify the query successfully returns a list of attribute metadata

Download the results as a .csv file

Open the .csv file in either Excel or Google Sheets

Edit any editable columns as needed

circle-check

Save (Excel) or download (Google Sheets) the file

Load the .csv into your stage

Run the bulk update stored procedure

circle-info

Modify the <placeholders> with same database and schema you uploaded the stored procedure to.

When the stored procedure completes, the attribute metadata file will be moved to the archive folder.

Verify the integration completed successfully by running the following query

Last updated

Was this helpful?