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/how-to-guides/adding-a-new-offline-store.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,8 @@ The OfflineStore class contains a couple of methods to read features from the of
28
28
There are two methods that deal with reading data from the offline stores`get_historical_features`and `pull_latest_from_table_or_query`.
29
29
30
30
*`pull_latest_from_table_or_query` is invoked when running materialization (using the `feast materialize` or `feast materialize-incremental` commands, or the corresponding `FeatureStore.materialize()` method. This method pull data from the offline store, and the `FeatureStore` class takes care of writing this data into the online store.
31
-
*`get_historical_features `is invoked when reading values from the offline store using the `FeatureStore.get_historica_features()` method. Typically, this method is used to retrieve features when training ML models.
31
+
*`get_historical_features` is invoked when reading values from the offline store using the `FeatureStore.get_historical_features()` method. Typically, this method is used to retrieve features when training ML models.
32
+
*`pull_all_from_table_or_query` is a method that pulls all the data from an offline store from a specified start date to a specified end date.
Returns a Retrieval Job for all join key columns, feature name columns, and the event timestamp columns that occur between the start_date and end_date.
229
+
213
230
Note that join_key_columns, feature_name_columns, event_timestamp_column, and created_timestamp_column
214
231
have all already been mapped to column names of the source table and those column names are the values passed
215
232
into this function.
233
+
234
+
Args:
235
+
config: Repo configuration object
236
+
data_source: Data source to pull all of the columns from
237
+
join_key_columns: Columns of the join keys
238
+
feature_name_columns: Columns of the feature names needed
0 commit comments