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

   ### What changes were proposed in this pull request?
   
   refactor the validation logic of all entities and add test case. A hint is 
provided when the user's output is missing the required arguments. for example:
   
   ```bash
   gcli column list -m demo_metalake, --name Hive_catalog
   # Malformed entity name.
   # Missing required argument(s): schema, table
   
   gcli column details -m demo_metalake, --name Hive_catalog --audit
   # Malformed entity name.
   # Missing required argument(s): schema, table, column
   
   gcli user delete -m demo_metalake
   Missing --user option.
   ```
   Currently, the Role command needs to be refactored and opened as a separate 
issue
   
   ### Why are the changes needed?
   
   Fix: #5861 
   
   ### Does this PR introduce _any_ user-facing change?
   
   NO
   
   ### How was this patch tested?
   
   local test


-- 
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: commits-unsubscr...@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to