Datasources - Bulk Update
Select and export the datasource metadata to a .csv file, edit in a spreadsheet like Google Sheets or Excel, then perform a bulk update in DataPancake.
Ensure you have completed Initialization Guide
1. Open a new Snowflake worksheet

2. Run a select statement for DATAPANCAKE.CORE.VW_DATASOURCES

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 Source Description Generation
Use TRUE for GENERATE_CODE and DataPancake will automatically generate code for the datasource.
Use GENERATE_DATASOURCE_DESCRIPTION and DataPancake will automatically generate a description from the datasource
You can also modify the MODEL_NAME, and WORD_LIMITcolumns 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?