Snowflake Connector
KumoRFM can connect directly to Snowflake data warehouses, enabling predictions on enterprise-scale data without moving it out of Snowflake.
Installation
The Snowflake backend requires the Snowflake connector:
Quick Start
From a Snowflake notebook (uses the active session automatically):
With explicit credentials:
This will:
- Connect to the Snowflake database and schema
- Discover all tables in the schema
- Infer column metadata (data types, semantic types, primary keys, time columns)
- Detect foreign key relationships
- Print a summary of the inferred metadata and links
Specifying Tables
Control which tables to include and customize their configuration:
Table configuration options:
Connection Options
There are several ways to establish a Snowflake connection:
1. Active session (Snowflake notebooks):
2. Credentials dictionary:
3. Existing connection:
Database and Schema Defaults
The database and schema parameters set defaults for all tables. If not specified, the current database and schema from the active session are used.
Individual tables can override these defaults using the database and schema keys in their configuration dictionary.
Controlling Metadata Inference
Manual Edge Specification
Supported Snowflake Types
KumoRFM maps Snowflake data types as follows: