Abyss-lord opened a new pull request, #5897:
URL: https://github.com/apache/gravitino/pull/5897

   <!--
   1. Title: [#<issue>] <type>(<scope>): <subject>
      Examples:
        - "[#123] feat(operator): support xxx"
        - "[#233] fix: check null before access result in xxx"
        - "[MINOR] refactor: fix typo in variable name"
        - "[MINOR] docs: fix typo in README"
        - "[#255] test: fix flaky test NameOfTheTest"
      Reference: https://www.conventionalcommits.org/en/v1.0.0/
   2. If the PR is unfinished, please mark this PR as draft.
   -->
   
   ### What changes were proposed in this pull request?
   
   Running the command gcli tag set --metalake metalake_demo or gcli tag remove 
--metalake metalake_demo gives unexpected output.it should give some help 
information.
   
   ### Why are the changes needed?
   
   Fix: #5831 
   
   ### Does this PR introduce _any_ user-facing change?
   
   NO
   
   ### How was this patch tested?
   
   ```bash
   bin/gcli.sh tag set --metalake demo_metalake 
   # output: Unable to determine the entity. Please specify one using the 
--name option.
   
   bin/gcli.sh tag set --tag role1 --property test
   # output: This command cannot be executed. The tag set command only supports 
configuring tag properties or attaching tags to entities.
   
   bin/gcli.sh tag set --tag role1 --value val1
   # output: This command cannot be executed. The tag set command only supports 
configuring tag properties or attaching tags to entities.
   
   bin/gcli.sh tag remove --metalake demo_metalake 
   # output: Unable to determine the entity. Please specify one using the 
--name option.
   
   bin/gcli.sh tag set --metalake demo_metalake --name Hive_catalog --tag tagA 
tagB
   # output: Hive_catalog now tagged with tagB,tagA
   
   bin/gcli.sh tag remove --metalake demo_metalake --name Hive_catalog
   # output: Hive_catalog removed tags tagB,tagA now tagged with nothing
   ```


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