feast
feast copied to clipboard
feat: Provide a way to change tag data on Feast objects (e.g. entities & feature views)
Is your feature request related to a problem? Please describe. https://github.com/feast-dev/feast/issues/2337
Describe the solution you'd like
We should be able to tag objects directly, similar to kubectl label for example. With the initial implementation we should be able to do the following:
- Add new tags
- Overwrite existing tags
- Remove tags
For the following object types:
- DataSource
- Entity
- FeatureService
- FeatureView
- OnDemandFeatureView
- SavedDatasetSpec
- StreamFeatureView
- ValidationReference
Additional context I'm thinking something like the following for cli:
$ feast tag --help
Usage: feast tag [OPTIONS] OBJECT_TYPE NAME
[Experimental] Tag objects
# Update entity 'foo' by removing a tag named 'bar' if it exists
# Does not require the --overwrite flag
feast tag entity foo --tags bar-
Options:
--tags TEXT Tags (e.g. --tags 'key:value' --tags 'key:value, key:value,
...'). [required]
--overwrite Overwrite tag(s)
--help Show this message and exit.
$ feast tag entity driver --tags release:production