Skip to content

Commit

Permalink
fix: Deleting data from feast_metadata when we delete project (#4550)
Browse files Browse the repository at this point in the history
* fix: Deleting data from feast_metadata when we delete project

Signed-off-by: Bhargav Dodla <[email protected]>

* fix: Deleting for snowflake

Signed-off-by: Bhargav Dodla <[email protected]>

---------

Signed-off-by: Bhargav Dodla <[email protected]>
Co-authored-by: Bhargav Dodla <[email protected]>
  • Loading branch information
EXPEbdodla and Bhargav Dodla authored Sep 21, 2024
1 parent 334e5d7 commit 351a2d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions sdk/python/feast/infra/registry/snowflake.py
Original file line number Diff line number Diff line change
Expand Up @@ -1303,6 +1303,7 @@ def delete_project(
"DATA_SOURCES",
"ENTITIES",
"PERMISSIONS",
"FEAST_METADATA",
"PROJECTS",
}:
query = f"""
Expand Down
1 change: 1 addition & 0 deletions sdk/python/feast/infra/registry/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -1237,6 +1237,7 @@ def delete_project(
data_sources,
entities,
permissions,
feast_metadata,
projects,
}:
stmt = delete(t).where(t.c.project_id == name)
Expand Down

0 comments on commit 351a2d0

Please sign in to comment.