Visitar URL original
new change · feast-dev/feast-workshop@7e4d6e2 · GitHub
Skip to content

Commit 7e4d6e2

Browse files
committed
new change
1 parent a5e75b4 commit 7e4d6e2

1 file changed

Lines changed: 14 additions & 5 deletions

File tree

‎module_0/feature_repo_aws/features.py‎

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,22 @@
1111

1212
driver_hourly_stats_view = FeatureView(
1313
name="driver_hourly_stats",
14-
description="Hourly features",
14+
description="Hourly features from Danny",
1515
entities=["driver"],
1616
ttl=timedelta(seconds=8640000000),
17-
schema=[
18-
Field(name="conv_rate", dtype=Float32),
19-
Field(name="acc_rate", dtype=Float32),
20-
],
17+
schema=[Field(name="conv_rate", dtype=Float32),],
18+
online=True,
19+
source=driver_stats,
20+
tags={"production": "True"},
21+
owner="test@gmail.com",
22+
)
23+
24+
driver_hourly_stats_view_2 = FeatureView(
25+
name="driver_hourly_stats",
26+
description="Hourly features from Danny",
27+
entities=["driver"],
28+
ttl=timedelta(seconds=8640000000),
29+
schema=[Field(name="conv_rate", dtype=Float32),],
2130
online=True,
2231
source=driver_stats,
2332
tags={"production": "True"},

0 commit comments

Comments
 (0)