3 — Snowflake (Trainer)
Pre-class Checklist — 2 weeks before
2 weeks before Step 3 of 9
Snowflake (Trainer’s own account)
Uses the ADLS2 SAS token from ADLS2 storage. Attendees create their own trial accounts during Module 3.
-
- Where: signup.snowflake.com → The AI Data Cloud (not Cortex Code CLI)
- Configure: Azure · region West Europe · edition Enterprise (fixed at signup — cannot change later)
- Verify: Snowsight home loads; browser URL contains
west-europe.azure(e.g.https://app.snowflake.com/west-europe.azure/el30551/#/homepage) - Doc: Getting started with Snowflake
-
- Where: Snowsight → Projects → Workspaces → + Add New → SQL File → paste/run
snowflake/sql/setup/02_account_setup.sqlfrom repo (or open from Git workspace) - Configure: Replace trainer
attendee_idin the script (e.g.tr_01_juewei) - Verify: Creates database
DE_MASTERCLASS, warehouseDE_WORKSHOP_WH, roleDE_WORKSHOP_ROLE, personal schemas (TR_01_JUEWEI_SQL_BRONZE,_SQL_SILVER,_SQL_GOLD, plus_SP_*,_NB_*,_DBT,_DBT_GOLD,_DBT_STREAMING; use your trainer ID) - Doc: Workspaces
- Where: Snowsight → Projects → Workspaces → + Add New → SQL File → paste/run
-
- Where: Read
snowflake/sql/setup/reference/storage_integration.sqlin repo — do not run on trial accounts - Note: Workshop labs use ADLS2 SAS token in
04_external_stage.sql, not a storage integration object - Doc: External stages for Azure
- Where: Read
-
- Where: Workspaces SQL file → run
snowflake/sql/setup/04_external_stage.sql - Configure: Paste fresh ADLS2 SAS token from page 1 where script expects it
- Verify: File formats and external stages created in trainer bronze schema
- Doc: CREATE STAGE (Azure)
- Where: Workspaces SQL file → run
-
- Where: Workspaces SQL file →
USE ROLE DE_WORKSHOP_ROLE;→LIST @TR_01_JUEWEI_SQL_BRONZE.nyc_taxi_trips_stage;(replaceTR_01_JUEWEIwith your trainer ID) - Verify:
yellow_tripdata_*.parquetfrom ADLS2raw/trips/appears - Doc: LIST command
- Where: Workspaces SQL file →
-
- Where: Workspaces SQL file → run
snowflake/sql/setup/05_cortex_access.sql - Verify:
SHOW GRANTS TO ROLE DE_WORKSHOP_ROLEincludes Cortex / ML privileges (Modules 6 and 9) - Doc: Snowflake Cortex overview
- Where: Workspaces SQL file → run
-
- Where: Module 6 facilitator script — attendees run on their own Snowsight (trainer has no access)
- Doc: Snowflake setup guide
-
- Where: Local machine → install Snowflake CLI (pre-installed in Codespaces/Dev Container as
snow) - Doc: Snowflake CLI
- Where: Local machine → install Snowflake CLI (pre-installed in Codespaces/Dev Container as