Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Populates project created_time correctly according to created time in feast_metadata table #149

Merged
merged 2 commits into from
Oct 24, 2024

Conversation

EXPEbdodla
Copy link
Collaborator

What this PR does / why we need it:

Populates project created_time correctly according to created time in feast_metadata table.

Which issue(s) this PR fixes:

Misc

@EXPEbdodla EXPEbdodla changed the title Fix project metadata fix: Populates project created_time correctly according to created time in feast_metadata table Oct 24, 2024
Comment on lines -295 to +297
feast_metadata_projects.append(row._mapping["project_id"])
feast_metadata_projects[row._mapping["project_id"]] = int(
row._mapping["last_updated_timestamp"]
)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain what this is doing? I don't really follow

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feast is deprecating feast_metadata table in the favor of projects. We are doing a sync of projects from feast_metadata to projects table. Earlier we are creating projects but missing the create timestamp from feast_metadata to projects. It creates inconsistencies in registry. This fix avoids that inconsistency.

@EXPEbdodla EXPEbdodla merged commit 22bcbc4 into master Oct 24, 2024
23 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants