jerryshao opened a new issue, #11844:
URL: https://github.com/apache/gravitino/issues/11844

   ### Describe the feature
   
   Currently, the tag implementation in Gravitino only supports associating 
tags with the following metadata object types: `CATALOG`, `SCHEMA`, `TABLE`, 
`FILESET`, `TOPIC`, `COLUMN`, and `MODEL`. Both `VIEW` and `FUNCTION` types 
exist in `MetadataObject.Type` but are excluded from 
`SUPPORTED_METADATA_OBJECT_TYPES_FOR_TAGS` in `TagManager`, making it 
impossible to associate tags with views or functions.
   
   ### Motivation
   
   Views and functions are first-class metadata objects in Gravitino, and users 
should be able to organize and discover them via tags just like tables, 
schemas, and other objects. Without tag support, users cannot apply governance, 
classification, or search/filter capabilities to these object types.
   
   ### Describe the solution
   
   - Add `MetadataObject.Type.VIEW` and `MetadataObject.Type.FUNCTION` to 
`SUPPORTED_METADATA_OBJECT_TYPES_FOR_TAGS` in `TagManager`.
   - Ensure `MetadataObjectUtil.toEntityIdent` and `toEntityType` handle `VIEW` 
and `FUNCTION` correctly.
   - Add corresponding REST API support and unit/integration tests.
   
   ### Additional context
   
   N/A


-- 
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]

Reply via email to