-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Labels
Description
Expected Behavior
Same behavior as regular FeatureViews
Current Behavior
Take following sample .py file and run cmd "feast apply" -- works just fine for regular FeatureViews
Steps to reproduce
from datetime import timedelta
import yaml
from feast import BatchFeatureView, Entity, FeatureService, SnowflakeSource
driver = Entity(
# Name of the entity. Must be unique within a project
name="driver",
# The join keys of an entity describe the storage level field/column on which
# features can be looked up. The join keys are also used to join feature
# tables/views when building feature vectors
join_keys=["driver_id"],
)
project_name = yaml.safe_load(open("feature_store.yaml"))["project"]
driver_stats_source = SnowflakeSource(
database=yaml.safe_load(open("feature_store.yaml"))["offline_store"]["database"],
table=f"{project_name}_feast_driver_hourly_stats",
timestamp_field="event_timestamp",
created_timestamp_column="created",
)
driver_stats_fv = BatchFeatureView(
name="driver_hourly_stats",
entities=[driver],
ttl=timedelta(weeks=52),
source=driver_stats_source,
)
driver_stats_fs = FeatureService(name="driver_activity", features=[driver_stats_fv])
Specifications
- Version:
- Platform:
- Subsystem: