You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tutorials/driver-stats-using-snowflake.md
+10-20Lines changed: 10 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,31 +1,23 @@
1
1
---
2
2
description: >-
3
-
Initial demonstration of using Snowflake with Feast as both and Offline & Online store
4
-
using the snowflake demo template.
3
+
Initial demonstration of Snowflake as an offline store with Feast, using the Snowflake demo template.
5
4
---
6
5
7
6
# Drivers Stats using Snowflake
8
7
9
-
In the following steps below, we will setup a sample feast project that leverages Snowflake
10
-
as an Offline Store.
8
+
In the steps below, we will set up a sample Feast project that leverages Snowflake
9
+
as an offline store.
11
10
12
-
Starting with data in a Snowflake table, we will register that table to the feature store and
13
-
define features associated with the columns in that table. From there, we will generate historical
14
-
training data based on those feature definitions. We then will materialize the latest feature values
15
-
given our feature definitions into our online feature store. Lastly, we will then call
16
-
for those latest feature values.
11
+
Starting with data in a Snowflake table, we will register that table to the feature store and define features associated with the columns in that table. From there, we will generate historical training data based on those feature definitions and then materialize the latest feature values into the online store. Lastly, we will retrieve the materialized feature values.
17
12
18
-
Our template that you will leverage will generate new data related to driver statistics.
19
-
From there, we will show you code snippets that will call to the offline store for generating
20
-
training datasets, and then the code for calling the online store to serve you the
21
-
latest feature values to serve models in production.
13
+
Our template will generate new data containing driver statistics. From there, we will show you code snippets that will call to the offline store for generating training datasets, and then the code for calling the online store to serve you the latest feature values to serve models in production.
22
14
23
15
## Snowflake Offline/Online Store Example
24
16
25
17
#### Install feast-snowflake
26
18
27
19
```shell
28
-
pip install feast[snowflake]
20
+
pip install 'feast[snowflake]'
29
21
```
30
22
31
23
#### Get a Snowflake Trial Account (Optional)
@@ -54,9 +46,7 @@ The following files will automatically be created in your project folder:
54
46
55
47
#### Inspect `feature_store.yaml`
56
48
57
-
Here you will see the information that you entered. This template will look to use
58
-
Snowflake as both an Offline & Online store. The main thing to remember is by default,
59
-
Snowflake Objects have ALL CAPS names unless lower case was specified.
49
+
Here you will see the information that you entered. This template will use Snowflake as an offline store and SQLite as the online store. The main thing to remember is by default, Snowflake objects have ALL CAPS names unless lower case was specified.
0 commit comments