feast icon indicating copy to clipboard operation
feast copied to clipboard

feat: Provide a way to change tag data on Feast objects (e.g. entities & feature views)

Open tchughesiv opened this issue 1 year ago • 0 comments

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:

  1. Add new tags
  2. Overwrite existing tags
  3. 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

tchughesiv avatar Aug 28 '24 20:08 tchughesiv