Skip to content

UI fails to run correctly on project with offline Featureviews #2719

@dvanbrug

Description

@dvanbrug

Expected Behavior

When FeatureViews have online=False, running feast ui should start the UI and load the project.

Current Behavior

The UI fails to load with the following error:

Error Loading Project Configs
There was an error loading the Project Configurations. Please check that feature_store.yaml file is available and well-formed.

This looks like it is caused by the registry dump not containing the online key for the feature views.

Steps to reproduce

  1. Create a default repo using feast init
  2. In example.py change online=True to online=False.
  3. Run feast ui

Specifications

  • Version: 0.21.2
  • Platform: macOS
  • Subsystem:

Possible Solution

To fix this, the registry should always contain the online key for FeatureViews even if they are set to False.

Perhaps this is related to this quirk of protobufs: protocolbuffers/protobuf#1772 which would mean that the online key doesn't come through in the call to to_proto here:

self._message_to_sorted_dict(feature_view.to_proto())

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions