World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[MINOR] docs: Document that associating unknown tags is ignored (#15187)
Jerry Shao0bbe0d380fc0
diff --git a/docs/manage-tags-in-gravitino.md b/docs/manage-tags-in-gravitino.mdindex f7489b2040..c4489fdb30 100644--- a/docs/manage-tags-in-gravitino.md+++ b/docs/manage-tags-in-gravitino.md@@ -252,6 +252,10 @@ Both happen in one request, and either list can be omitted. The object type andpath, so the same call covers catalogs, schemas, tables, views, columns, filesets, topics, models,functions, and [Semantic Models](./manage-semantic-model-metadata-using-gravitino.md#tags-and-policies).+Tag names that do not exist in the metalake are ignored instead of failing the request, in either+list. The call returns the tags attached to the object after the change, so compare it with the+names you sent to catch a typo or a tag that was dropped in the meantime.+<Tabs groupId='language' queryString><TabItem value="shell" label="REST">diff --git a/docs/open-api/tags.yaml b/docs/open-api/tags.yamlindex 0d66d12ec5..8dc3c2716b 100644--- a/docs/open-api/tags.yaml+++ b/docs/open-api/tags.yaml@@ -222,7 +222,13 @@ paths:tags:- tagsummary: Associate tags with metadata object- description: Associate and disassociate tags with metadata object, please be aware that supported metadata objects are CATALOG, SCHEMA, TABLE, VIEW, SEMANTIC_MODEL, FILESET, TOPIC, COLUMN, MODEL, FUNCTION+ description: >-+ Associate and disassociate tags with metadata object, please be aware that supported+ metadata objects are CATALOG, SCHEMA, TABLE, VIEW, SEMANTIC_MODEL, FILESET, TOPIC, COLUMN,+ MODEL, FUNCTION. Tag names in `tagsToAdd` or `tagsToRemove` that do not exist in the+ metalake are ignored instead of failing the request, including tags dropped or renamed+ while the request runs. The response lists the tags associated with the object after the+ change, so callers can compare it with the request to find names that took no effect.operationId: associateTagsrequestBody:content:@@ -240,7 +246,7 @@ paths:$ref: "#/components/examples/TagValuesAssociate"responses:"200":- description: Returns the list of tag names associated with the specified metadata object+ description: Returns the list of tag names associated with the specified metadata object after the change; unknown tag names in the request are not includedcontent:application/vnd.gravitino.v1+json:schema: