Open jmeisele opened 1 year ago
I re-read the docs to see if there's something I'm missing using the SQL based registry (Snowflake). Bullet 2 references tearing down a project (desired behavior I'm after). I didn't see a CLI command to teardown_project
or anything similar. The teardown
command does indeed remove the registry.
I don't think the multi-project implementation for the FEAST working really well in the registry at this moment... there need some code works for that part...
@jmeisele can you retag this as an improvement? given this is currently not a bug
@sfc-gh-madkins Tried to change the label from GitHub and I cannot, can you from your side?
I got it ... @jmeisele let me know how big of a blocker this is for you
@sfc-gh-madkins we can't adopt feast until we can spin up/spin down infra on a project by project basis š so the sooner we can get this capability released the sooner we can start using Feast. More than happy to contribute š
@jmeisele want to look at some code for this?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Expected Behavior
feast teardown
command in the feature_repo will remove resources only tied to the project listed in the correspondingfeature_store.yaml
Current Behavior
feast teardown
command in any feature repo referencing the same registry removes all projects resources under that registrySteps to reproduce
You can use the same GItHub repo or spread across multiple repos.
Create feature repo 1
feast init -t snowflake snowflake_feast
feast apply
Create feature repo 2
feast init -t snowflake concrete_opossum
feast apply
You'll see both projects listed in registry metadata (as expected).
feast teardown
in either feature_repo directory we generated earlierSpecifications
Possible Solution
feast teardown-project
command only removes resources tied to the project listed in the feature_repo/feature_store.yaml it is run from and leaves the other projects infra alone in the registry.