Skip to content

Commit da5d16f

Browse files
committed
Add new feature view version
Signed-off-by: Danny Chiao <danny@tecton.ai>
1 parent 261a9fd commit da5d16f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

module_0/feature_repo_aws/features.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,19 @@
2323
tags={"production": "True"},
2424
owner="test2@gmail.com",
2525
)
26+
27+
driver_hourly_stats_view_v2 = FeatureView(
28+
name="driver_hourly_stats_v2",
29+
description="Hourly features v2",
30+
entities=["driver"],
31+
ttl=timedelta(seconds=8640000000),
32+
schema=[
33+
Field(name="conv_rate", dtype=Float32),
34+
Field(name="acc_rate", dtype=Float32),
35+
Field(name="miles_driven", dtype=Float32),
36+
],
37+
online=True,
38+
source=driver_stats,
39+
tags={"production": "True"},
40+
owner="test2@gmail.com",
41+
)

0 commit comments

Comments
 (0)