◐ Shell
clean mode source ↗

fix: Correct project_id scoping in get_user_metadata and delete_project by Abhishek8108 · Pull Request #6248 · feast-dev/feast

devin-ai-integration[bot]

@ntkathole ntkathole changed the title fix: correct project_id scoping in get_user_metadata and delete_project fix: Correct project_id scoping in get_user_metadata and delete_project

Apr 10, 2026
get_user_metadata was filtering only by feature view name, allowing a
shared Snowflake registry to return user metadata from a different
project's feature view with the same name. Added project_id = '{project}'
to the WHERE clause, consistent with apply_user_metadata.

delete_project was interpolating a Project object into the SQL string
instead of the project name string, which would use __str__ of the object
rather than the actual name. Changed to use the `name` parameter directly.

Signed-off-by: Abhishek8108 <87538407+Abhishek8108@users.noreply.github.com>

ntkathole