Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.31 KB

File metadata and controls

44 lines (30 loc) · 1.31 KB

Connecting Python and Snowflake with ADBC

Instructions

Prerequisites

  1. Install uv

  2. Install dbc

Connect to Snowflake

  1. Install the Snowflake ADBC driver:

    dbc install snowflake
  2. Customize the Python script main.py

    • Change the connection arguments in db_kwargs
    • If you changed the database and schema, also change the SQL SELECT statement in cursor.execute()
  3. Run the Python script:

    uv run main.py