Driver stats on Snowflake
Initial demonstration of Snowflake as an offline+online store with Feast, using the Snowflake demo template.
Snowflake Offline Store Example
Install feast-snowflake
pip install 'feast[snowflake]'Get a Snowflake Trial Account (Optional)
Create a feature repository
feast init -t snowflake {feature_repo_name}
Snowflake Deployment URL (exclude .snowflakecomputing.com):
Snowflake User Name::
Snowflake Password::
Snowflake Role Name (Case Sensitive)::
Snowflake Warehouse Name (Case Sensitive)::
Snowflake Database Name (Case Sensitive)::
Should I upload example data to Snowflake (overwrite table)? [Y/n]: Y
cd {feature_repo_name}Inspect feature_store.yaml
feature_store.yamlRun our test python script test.py
test.pyWhat we did in test.py
test.pyInitialize our Feature Store
Create a dummy training dataframe, then call our offline store to add additional columns
Materialize the latest feature values into our online store
Retrieve the latest values from our online store based on our entity key
Last updated
Was this helpful?