dcr-v1-to-v2

Installation
SKILL.md

DCR V1 to V2 Migration

Overview

Guides migration of a Snowflake Data Clean Room from V1 (SAMOOHA Provider/Consumer API) to V2 (Collaboration API). Produces local SQL scripts and reports — never executes DDL/DML against your accounts. Use this when you have an existing V1 clean room (calls into samooha_by_snowflake_local_db.provider.* / consumer.*) and want a generated V2 setup plus a side-by-side validation plan.

In scope: V1 inventories, JinjaSQL template conversion (drops the join_policy filter), provider + consumer setup scripts, cleanup scripts, validation checklist.

Out of scope: executing generated SQL, V0 direct-share setups, non-Snowflake clean rooms.

Prerequisites

  1. "Snowflake Data Clean Rooms" (SAMOOHA) installed on both accounts.
  2. Quick Start completed on both (CHECK_MOUNT_STATUS() returns TRUE).
  3. Access to the V1 provider account with SAMOOHA_APP_ROLE or ACCOUNTADMIN.

Workflow

Step 0 — Connection setup

Installs
GitHub Stars
40
First Seen
Jun 5, 2026
dcr-v1-to-v2 — snowflake-labs/coco-skills