justinmclean commented on issue #5529:
URL: https://github.com/apache/gravitino/issues/5529#issuecomment-2521662979

   That code looks correct to me. I just tried this out, and it works fine for 
me. I think you may be creating the tags but not tagging the catalog? so in 
your code tags would be null or empty, have you tried debugging it to see what 
the value is?
   
   Here's what I go after I modified my remove command:
   ```
   gcli tag create --metalake metalake_demo --tag tagA tagB tagC -i
   Tags tagA,tagB,tagC created
   gcli tag set --metalake metalake_demo --name catalog_postgres --tag tagA 
tagB tagC -i
   catalog_postgres now tagged with tagA,tagB,tagC
   gcli tag list --metalake metalake_demo --name catalog_postgres -i
   tagA,tagB,tagC
   gcli tag remove --metalake metalake_demo --name catalog_postgres -i
   catalog_postgres removed tags tagA,tagB,tagC now tagged with nothing
   gcli tag list --metalake metalake_demo --name catalog_postgres -i
   
   ```


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