roryqi opened a new issue, #12125:
URL: https://github.com/apache/gravitino/issues/12125
### Describe the feature
Add a design for tag assignment values in Gravitino. The design allows a tag
assignment to carry multiple string values, stores one value per
tag_relation_meta row, and supports exact value lookup through the existing
tag-associated-object listing API.
### Motivation
Current tag assignments are boolean. Users cannot assign values such as
data_domain=finance and data_domain=risk to the same metadata object without
creating many tag names. This design reduces tag proliferation and makes tag
values visible and queryable.
### Describe the solution
Add allowed_values to tag_meta, add tag_value and value_order to
tag_relation_meta, represent assignment updates as tagsToAdd / tagsToRemove
pair arrays, and add an optional value filter to GET /tags/{tag}/objects.
The first implementation does not support changing or clearing allowedValues
after tag creation and does not add a standalone /objects/search endpoint.
### Additional context
This issue is for the design document only.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]