New Feature Retrieval SDK Methods
Tecton is releasing a new API to be used for feature retrieval. For fetching features from the offline store, we’ve introduced the method get_historical_features
. For fetching features from the online store, we’ve introduced the method get_online_features
. Both these methods can be called on Feature Services, Feature Views, and Feature Tables.
These methods will replace existing methods get_feature_dataframe
, get_feature_vector
, get_features
, preview
, and the module level functions tecton.get_historical_features
and tecton.get_online_features
. These functions will be deprecated in the future so please transition into using the new api.
There is also a new method introduced for data sources. On a BatchDataSource or a StreamDataSource, we will be deprecating the dataframe and previewmethods, and instead introducing the get_dataframe method. This returns the data from the data source as a TectonDataFrame. You can filter the data fetched using the start_time and end_time parameters.
The API details can be found here under each FeatureView type.