LuciferYang opened a new issue, #13445: URL: https://github.com/apache/gravitino/issues/13445
### Version main branch ### Describe what's wrong `MetadataObjectUtil.checkMetadataObject`'s switch handles 16 of the 17 metadata object types. A `SEMANTIC_MODEL` object hits the `default` branch and throws `IllegalArgumentException`, so associating a tag or policy with a semantic model fails with a 400-class error, even though `SEMANTIC_MODEL` is registered in `TYPE_TO_TYPE_MAP` and handled by `toEntityType`/`toEntityIdent`. ### How to reproduce Associate a tag (or policy) with a `SEMANTIC_MODEL` metadata object. The request fails because `checkMetadataObject` rejects the type. -- 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]
