orenccl opened a new pull request, #5509:
URL: https://github.com/apache/gravitino/pull/5509

   ### What changes were proposed in this pull request?
   
   Add the `--audit` option to display audit information on Catalog, Schema, 
Table
   
   ### Why are the changes needed?
   
   This change allows users to retrieve additional audit information on 
Catalog/Schema/Table, providing more insights.
   
   Close: #5477 
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, it adds the `--audit` option to `CommandEntities.CATALOG/SCHEMA/TABLE`.
   
   ### How was this patch tested?
   
   1. Follow the instructions in the [cli 
README](https://github.com/apache/gravitino/tree/main/clients/cli) to build the 
CLI sub-project.
   2. Start the Gravitino Playground.
   
   To test, use a command like the following:
   
   ```
   gcli metalake details --metalake metalake_demo --audit
   gcli catalog details --metalake metalake_demo --name catalog_postgres --audit
   gcli schema details --metalake metalake_demo --name catalog_postgres.hr 
--audit
   gcli table details --metalake metalake_demo --name 
catalog_postgres.hr.departments --audit
   ```
   
   Check that the output matches the expected audit information.
   
   ![2024-11-08 
002032](https://github.com/user-attachments/assets/636e9abf-fdf3-46f0-9e03-d3b485a06de9)


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