From e6b2e9746b7c720a8a9f90da611d140ea228b34f Mon Sep 17 00:00:00 2001 From: Zach Barnett Date: Wed, 25 Sep 2024 11:05:10 -0500 Subject: [PATCH] fix: explicitly add project to fv.spec in search projects --- sdk/python/feast/infra/registry/sql.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/python/feast/infra/registry/sql.py b/sdk/python/feast/infra/registry/sql.py index a72919449a..91a0e568d1 100644 --- a/sdk/python/feast/infra/registry/sql.py +++ b/sdk/python/feast/infra/registry/sql.py @@ -1139,6 +1139,8 @@ def expedia_search_projects( feature_view_proto = FeatureViewProto.FromString( row._mapping["feature_view_proto"] ) + # for some reason, project is not set in the proto, so we set it here + feature_view_proto.spec.project = project_id if project_id not in feature_views_by_project: feature_views_by_project[project_id] = []