Skip to main content

Snowflake

Snowflake is the first concrete adapter target.

Connection

Provide a Snowflake DSN via --connection or --connection-env.

export SNOWFLAKE_DSN="snowflake://user:pass@account/db/schema?warehouse=wh&role=role"
dusk scan --warehouse snowflake --connection-env SNOWFLAKE_DSN

Permissions

Dusk reads from SNOWFLAKE.ACCOUNT_USAGE.QUERY_HISTORY. The role you use must have:

  • IMPORTED PRIVILEGES on the SNOWFLAKE shared database, or
  • access to an equivalent query-history view your account exposes

Notes

  • Dusk does not modify any state in your warehouse
  • All analysis happens locally; no query text leaves your machine

Setup details and minimum role grants will expand as the adapter matures.