Skip to content

Commit

Permalink
fix: Fix delete sfv twice issue (#3466)
Browse files Browse the repository at this point in the history
fix delete sfv twice issue

Signed-off-by: hao-affirm <[email protected]>
  • Loading branch information
hao-affirm authored Jan 29, 2023
1 parent 1ef5137 commit dfd5eae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sdk/python/feast/feature_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,10 @@ def apply(
views_to_delete = [
ob
for ob in objects_to_delete
if isinstance(ob, FeatureView) or isinstance(ob, BatchFeatureView)
if (
(isinstance(ob, FeatureView) or isinstance(ob, BatchFeatureView))
and not isinstance(ob, StreamFeatureView)
)
]
request_views_to_delete = [
ob for ob in objects_to_delete if isinstance(ob, RequestFeatureView)
Expand Down

0 comments on commit dfd5eae

Please sign in to comment.