diff --git a/module_0/feature_repo_aws/features.py b/module_0/feature_repo_aws/features.py index 7c4ef4b..1484f1d 100644 --- a/module_0/feature_repo_aws/features.py +++ b/module_0/feature_repo_aws/features.py @@ -23,3 +23,19 @@ tags={"production": "True"}, owner="test2@gmail.com", ) + +driver_hourly_stats_view_v2 = FeatureView( + name="driver_hourly_stats_v2", + description="Hourly features v2", + entities=["driver"], + ttl=timedelta(seconds=8640000000), + schema=[ + Field(name="conv_rate", dtype=Float32), + Field(name="acc_rate", dtype=Float32), + Field(name="miles_driven", dtype=Float32), + ], + online=True, + source=driver_stats, + tags={"production": "True"}, + owner="test2@gmail.com", +)