Skip to content

Commit 20b7960

Browse files
authored
[#5782][Improvement] Add extended help for schema in Gravitino CLI (#5789)
What changes were proposed in this pull request? Add extended help for schema in Gravitino CLI Why are the changes needed? To provide user with extra help. Fix: #5782 Does this PR introduce any user-facing change? No. How was this patch tested? N/A
1 parent 810a8b5 commit 20b7960

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
gcli schema [list|details|create|properties]
2+
3+
Please set the metalake in the Gravitino configuration file or the environment variable before running any of these commands.
4+
Setting and removing schema properties is not currently supported by the Java API or the Gravitino CLI.
5+
6+
Example commands
7+
8+
Show all schemas in a catalog
9+
gcli schema list --name catalog_postgres
10+
11+
Show schema details
12+
gcli schema details --name catalog_postgres.hr
13+
14+
Show schema audit information
15+
gcli schema details --name catalog_postgres.hr --audit
16+
17+
Create a schema
18+
gcli schema create --name catalog_postgres.new_db
19+
20+
Display schema properties
21+
gcli schema properties --name catalog_postgres.hr -i

0 commit comments

Comments
 (0)