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.
Ensure you have completed Attribute Metadata Bulk Updates (Data Dictionary) - Setup
1. Open a new Snowflake worksheet

2. 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 data dictionary updates where source data type is primitive

3. Verify the query successfully returns a list of attribute metadata

4. Download the results as a .csv file

5. Open the .csv file in either Excel or Google Sheets

6. Edit any editable columns as needed

Bulk Cortex AI Data Dictionary Generation
Use TRUE for these attributes and DataPancake will generate new data dictionary values with the following:
GENERATE_DESCRIPTION, GENERATE_SYNONYMS, and GENERATE_SAMPLE_VALUES
You can also modify the DESCRIPTION_WORD_LIMIT, SYNONYM_LIMIT, SAMPLE_VALUE_LIMIT, MODEL_NAME, and PROMPT columns to further improve the LLM values returned.

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

8. Load the .csv into your stage




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

10. Verify the integration completed successfully by running the following query
Last updated
Was this helpful?