Skip to content

Bug report: not sync deleted feature views in feast ui server when using python sdk #5791

@iamcodingcat

Description

@iamcodingcat

cc. @franciscojavierarceo @HaoXuAI

Expected Behavior

Feast ui server always sync status based on registry file.

Current Behavior

After deleting feature view, entities and others, Feast ui server still shows the deprecated object in the ui server.
The issue only occurs with using python sdk. The issue can be reproducible in localhost(using local registry).

FYI. The issue doesn't occur in cli(ex. feast apply).

Steps to reproduce

For the reproducible issue, I attached my source code scripts.

  • data directory: my sample dataset for reproducing this issue.
  • feature_store.yaml : use yaml file when using feast CLI (this issue not occurs using cli but occurs using python-sdk
  • register.py : scripts for apply action with cli and python sdk

[Steps(with python-sdk)]
(1). Run command in shell: python register.py && feast apply And can find all feature views that defined in feast ui server.
(2). Intentionally comment deal keyword-related feature entity, source, feature view defined in register.py script.
(3). Re-run command in shell: python register.py && feast apply
-> Result: After (3) steps, I expected that the deal_type_fv feature view didn't show in ui server but the feature view, entity is still in it.

Specifications

  • Version: feast python sdk version is 0.56.0
  • Platform: MacOS Sonoma 14.6.1 64bit
  • Subsystem:

Possible Solution

I don't know how to fix it.

Attachment

I attach my source codes for reproducible issue.

archive.tar.gz

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