Skip to content

Feature services do not use specified features correctly  #2767

@achals

Description

@achals

Expected Behavior

Given a minimal example:

file_source = prep_file_source(df=simple_dataset_1, timestamp_field="ts_1") as file_source:
entity1 = Entity(name="test1", join_keys=["id_join_key"])
feature_view_1 = FeatureView(
    name="test1", entities=[entity1], source=file_source,
)
feature_service = FeatureService(name="fs_1", features=[feature_view_1[["string_col"]]])

The feature service should only contain a single feature, string_col.

Current Behavior

The feature service should contains all the features for the feature view.

Steps to reproduce

test_update_feature_services_with_inferred_features exhibits this behaviour

Thanks to the bugreport: https://tectonfeast.slack.com/archives/C01MSKCMB37/p1653998863644589

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions