This is an automated email from the ASF dual-hosted git repository.
jmclean pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new 57549afd3 [MINOR] Correct the mistakes in some documents (#4286)
57549afd3 is described below
commit 57549afd3843788266aac351be86400ed5846778
Author: RickyMa <[email protected]>
AuthorDate: Mon Jul 29 09:24:08 2024 +0800
[MINOR] Correct the mistakes in some documents (#4286)
### What changes were proposed in this pull request?
Correct the mistakes in some documents.
### Why are the changes needed?
Better readability & maintainability.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Not necessary.
---
docs/manage-metalake-using-gravitino.md | 2 +-
docs/manage-relational-metadata-using-gravitino.md | 8 ++++----
docs/manage-table-partition-using-gravitino.md | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/docs/manage-metalake-using-gravitino.md
b/docs/manage-metalake-using-gravitino.md
index bab226e44..b4186dbbf 100644
--- a/docs/manage-metalake-using-gravitino.md
+++ b/docs/manage-metalake-using-gravitino.md
@@ -196,7 +196,7 @@ catalogs, schemas and tables under the metalake need to be
removed before droppi
### List all metalakes
-You can list metalakes by sending a `GET` request to the `/api/metalakes`
endpoint or just use the Gravitino Java client. The following is an example of
listing all metalake names:
+You can list metalakes by sending a `GET` request to the `/api/metalakes`
endpoint or just use the Gravitino Java client. The following is an example of
listing all the metalake names:
<Tabs groupId="language" queryString>
<TabItem value="shell" label="Shell">
diff --git a/docs/manage-relational-metadata-using-gravitino.md
b/docs/manage-relational-metadata-using-gravitino.md
index 7eab5b4b7..f9f70183b 100644
--- a/docs/manage-relational-metadata-using-gravitino.md
+++ b/docs/manage-relational-metadata-using-gravitino.md
@@ -200,7 +200,7 @@ Dropping a catalog only removes metadata about the catalog,
schemas, and tables
### List all catalogs in a metalake
-You can list all catalogs under a metalake by sending a `GET` request to the
`/api/metalakes/{metalake_name}/catalogs` endpoint or just use the Gravitino
Java client. The following is an example of listing all catalogs in
+You can list all catalogs under a metalake by sending a `GET` request to the
`/api/metalakes/{metalake_name}/catalogs` endpoint or just use the Gravitino
Java client. The following is an example of listing all the catalogs in
a metalake:
<Tabs groupId="language" queryString>
@@ -227,7 +227,7 @@ String[] catalogNames = gravitinoClient.listCatalogs();
### List all catalogs' information in a metalake
-You can list all catalogs' information under a metalake by sending a `GET`
request to the `/api/metalakes/{metalake_name}/catalogs?details=true` endpoint
or just use the Gravitino Java client. The following is an example of listing
all catalogs' information in a metalake:
+You can list all catalogs' information under a metalake by sending a `GET`
request to the `/api/metalakes/{metalake_name}/catalogs?details=true` endpoint
or just use the Gravitino Java client. The following is an example of listing
all the catalogs' information in a metalake:
<Tabs groupId="language" queryString>
<TabItem value="shell" label="Shell">
@@ -463,7 +463,7 @@ Some catalogs may not support cascading deletion of a
schema, please refer to th
### List all schemas under a catalog
-You can alter all schemas under a catalog by sending a `GET` request to the
`/api/metalakes/{metalake_name}/catalogs/{catalog_name}/schemas` endpoint or
just use the Gravitino Java client. The following is an example of list all
schema
+You can list all schemas under a catalog by sending a `GET` request to the
`/api/metalakes/{metalake_name}/catalogs/{catalog_name}/schemas` endpoint or
just use the Gravitino Java client. The following is an example of listing all
the schemas
in a catalog:
@@ -974,7 +974,7 @@ Hive catalog and lakehouse-iceberg catalog supports
`purgeTable` while jdbc-mysq
### List all tables under a schema
-You can list all tables in a schema by sending a `GET` request to the
`/api/metalakes/{metalake_name}/catalogs/{catalog_name}/schemas/{schema_name}/tables`
endpoint or just use the Gravitino Java client. The following is an example of
list all tables in a schema:
+You can list all tables in a schema by sending a `GET` request to the
`/api/metalakes/{metalake_name}/catalogs/{catalog_name}/schemas/{schema_name}/tables`
endpoint or just use the Gravitino Java client. The following is an example of
listing all the tables in a schema:
<Tabs groupId='language' queryString>
<TabItem value="shell" label="Shell">
diff --git a/docs/manage-table-partition-using-gravitino.md
b/docs/manage-table-partition-using-gravitino.md
index 8936e5e3a..bf7f1a4c1 100644
--- a/docs/manage-table-partition-using-gravitino.md
+++ b/docs/manage-table-partition-using-gravitino.md
@@ -313,7 +313,7 @@ Partition Partition =
### List partition names under a partitioned table
You can list all partition names under a partitioned table by sending a `GET`
request to the
`/api/metalakes/{metalake_name}/catalogs/{catalog_name}/schemas/{schema_name}/tables/{partitioned_table_name}/partitions`
endpoint or by using the Gravitino Java client.
-The following is an example of listing all partition names under a partitioned
table:
+The following is an example of listing all the partition names under a
partitioned table:
<Tabs groupId='language' queryString>
<TabItem value="shell" label="Shell">
@@ -349,7 +349,7 @@ String[] partitionNames =
### List partitions under a partitioned table
If you want to get more detailed information about the partitions under a
partitioned table, you can list all partitions under a partitioned table by
sending a `GET` request to the
`/api/metalakes/{metalake_name}/catalogs/{catalog_name}/schemas/{schema_name}/tables/{partitioned_table_name}/partitions`
endpoint or by using the Gravitino Java client.
-The following is an example of listing all partitions under a partitioned
table:
+The following is an example of listing all the partitions under a partitioned
table:
<Tabs groupId='language' queryString>
<TabItem value="shell" label="Shell">