Skip to content

Latest commit

 

History

History

Iceberg & Cortex demo

This demo will show you how you can easily use Snowflake Cortex LLM functions for AI-powered text analysis on Iceberg tables. A blog post with step-by-step instructions are available here.

  1. Run through line 43 of demo.sql in your Snowflake SQL worksheet. External Volume setup instructions can be found here.
  2. Run through snowpark.ipynb cells, and stop after writing jan_df to the Iceberg table (save_as_table).
  3. Continue running demo.sql through line 61.
  4. Setup Snowflake Reader Account, which can be done through the Snowsight UI or with SQL.
  5. Create a share to the reader account created in step 4, and add the Iceberg table to the share.
  6. Run all cells in spark.ipynb.