Skip to content

Commit ffd50fd

Browse files
docs: Add Snowflake registry bolierplate (feast-dev#3583)
Signed-off-by: Miles Adkins <[email protected]>
1 parent e2b03fd commit ffd50fd

2 files changed

Lines changed: 34 additions & 3 deletions

File tree

docs/reference/offline-stores/snowflake.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The [Snowflake](https://trial.snowflake.com) offline store provides support for
77
* Entity dataframes can be provided as a SQL query or can be provided as a Pandas dataframe. A Pandas dataframes will be uploaded to Snowflake as a temporary table in order to complete join operations.
88

99
## Getting started
10-
In order to use this offline store, you'll need to run `pip install 'feast[snowflake]'`.
10+
In order to use this offline store, you'll need to run `pip install 'feast[snowflake]'`.
1111

1212
If you're using a file based registry, then you'll also need to install the relevant cloud extra (`pip install 'feast[snowflake, CLOUD]'` where `CLOUD` is one of `aws`, `gcp`, `azure`)
1313

@@ -25,9 +25,10 @@ offline_store:
2525
account: snowflake_deployment.us-east-1
2626
user: user_login
2727
password: user_password
28-
role: sysadmin
29-
warehouse: demo_wh
28+
role: SYSADMIN
29+
warehouse: COMPUTE_WH
3030
database: FEAST
31+
schema: PUBLIC
3132
```
3233
{% endcode %}
3334
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Snowflake registry
2+
3+
## Description
4+
5+
The [Snowflake](https://trial.snowflake.com) registry provides support for storing the protobuf representation of your feature store objects (data sources, feature views, feature services, etc.) Because Snowflake is an ACID compliant database, this allows for changes to individual objects atomically.
6+
7+
An example of how to configure this would be:
8+
9+
## Example
10+
11+
{% code title="feature_store.yaml" %}
12+
```yaml
13+
project: my_feature_repo
14+
provider: local
15+
registry:
16+
registry_type: snowflake.registry
17+
account: snowflake_deployment.us-east-1
18+
user: user_login
19+
password: user_password
20+
role: SYSADMIN
21+
warehouse: COMPUTE_WH
22+
database: FEAST
23+
schema: PUBLIC
24+
cache_ttl_seconds: 60
25+
offline_store:
26+
...
27+
```
28+
{% endcode %}
29+
30+
The full set of configuration options is available in [SnowflakeRegistryConfig](https://rtd.feast.dev/en/latest/#feast.infra.registry.snowflake.SnowflakeRegistryConfig).

0 commit comments

Comments
 (0)