You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nmroth42
changed the title
SqlRegistry _apply_object doesn't take into account match with project_id on update
SqlRegistry _apply_object doesn't take into account match with project_id when updating row
Mar 21, 2024
SqlRegistry _apply_object doesn't take into account match with project_id when updating row.
https://github.com/feast-dev/feast/blob/master/sdk/python/feast/infra/registry/sql.py#L736
Wrong (as is):
.where(getattr(table.c, id_field_name) == name)
Correct:
.where(getattr(table.c, id_field_name) == name, table.c.project_id == project)
The text was updated successfully, but these errors were encountered: