-
Notifications
You must be signed in to change notification settings - Fork 406
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
### What changes were proposed in this pull request? Support table format output for Audit command. ### Why are the changes needed? Fix: #5746 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? local test. ```bash gcli metalake details --output table -m demo_metalake --audit -i +-----------+--------------------------+-----------+--------------------------+ | Creator | Creation at | Modifier | Modified at | +-----------+--------------------------+-----------+--------------------------+ | anonymous | 2024-12-04T07:41:18.512Z | anonymous | 2025-01-14T07:56:25.496Z | +-----------+--------------------------+-----------+--------------------------+ gcli catalog details --name Hive_catalog -i --output table -m demo_metalake --audit +-----------+--------------------------+-----------+-----------------------------+ | Creator | Creation at | Modifier | Modified at | +-----------+--------------------------+-----------+-----------------------------+ | anonymous | 2024-12-05T01:20:40.512Z | anonymous | 2025-02-21T08:36:50.613886Z | +-----------+--------------------------+-----------+-----------------------------+ gcli schema details --name Hive_catalog.default --output table -m demo_metalake --audit -i +---------+-------------+----------+-------------+ | Creator | Creation at | Modifier | Modified at | +---------+-------------+----------+-------------+ | public | N/A | N/A | N/A | +---------+-------------+----------+-------------+ gcli table details --name Hive_catalog.default.test_dates --output table -m demo_metalake --audit -i +-----------+----------------------+----------+-------------+ | Creator | Creation at | Modifier | Modified at | +-----------+----------------------+----------+-------------+ | panchenxi | 2024-07-24T07:20:52Z | N/A | N/A | +-----------+----------------------+----------+-------------+ ```
- Loading branch information
1 parent
fb3d900
commit 3590393
Showing
5 changed files
with
80 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters