Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[MINOR] docs(jdbc): polish jdbc document (#2012)

FANNGf82a74019da8
diff --git a/docs/jdbc-mysql-catalog.md b/docs/jdbc-mysql-catalog.md
index 2acee1355e..3fb0040ff8 100644
--- a/docs/jdbc-mysql-catalog.md
+++ b/docs/jdbc-mysql-catalog.md
@@ -24,10 +24,12 @@ Gravitino saves some system information in schema and table comment, like `(From
### Catalog capabilities
-- Supports metadata management of MySQL (5.6, 5.7, 8.0).
+- Gravitino catalog corresponds to the MySQL instance.
+- Supports metadata management of MySQL (5.7, 8.0).
- Supports DDL operation for MySQL databases and tables.
-- Doesn't support table index operations.
-- Doesn't support setting certain column properties, such as default value and check constraints.
+- Supports table index.
+- Supports column default value and auto-increment.
+- Supports managing MySQL table features though table properties, like using `engine` to set MySQL storage engine.
### Catalog properties
@@ -58,13 +60,13 @@ Please refer to [Manage Metadata Using Gravitino](./manage-metadata-using-gravit
### Schema capabilities
- Gravitino schema corresponds to the MySQL database.
-- Supports create schema, but does not explicitly support setting comments.
-- Supports drop schema.
-- Doesn't support cascade drop database.
+- Supports creating schema, but does not support setting comment.
+- Supports dropping schema.
+- Doesn't support cascade dropping schema.
### Schema properties
-- Doesn't support any database property settings.
+- Doesn't support any schema property settings.
### Schema operations
@@ -76,9 +78,9 @@ Please refer to [Manage Metadata Using Gravitino](./manage-metadata-using-gravit
- Gravitino table corresponds to the MySQL table.
- Supports DDL operation for MySQL tables.
-- Doesn't support setting certain column properties, such as default value and check constraints.
-- Doesn't support index definition.
-- Doesn't support table property settings.
+- Supports index.
+- Support column default value and auto-increment.
+- Supports managing MySQL table features though table properties, like using `engine` to set MySQL storage engine.
#### Table column types
@@ -160,7 +162,7 @@ Index[] indexes = new Index[] {
### Table properties
-Table properties support the following properties:
+Although MySQL itself does not support table properties, Gravitino offers table property management for MySQL tables through the `jdbc-mysql` catalog, enabling control over table features. The supported properties are listed as follows:
| Property Name | Description | Required | Since version |
|-------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------|---------------|
@@ -227,6 +229,7 @@ Supports operations:
- `UpdateColumnPosition`
- `UpdateColumnNullability`
- `UpdateColumnComment`
+- `SetProperty`
:::info
You cannot submit the `RenameTable` operation at the same time as other operations.
diff --git a/docs/jdbc-postgresql-catalog.md b/docs/jdbc-postgresql-catalog.md
index c0fcb00901..392544ca98 100644
--- a/docs/jdbc-postgresql-catalog.md
+++ b/docs/jdbc-postgresql-catalog.md
@@ -27,8 +27,8 @@ Gravitino saves some system information in schema and table comment, like `(From
- Gravitino catalog corresponds to the PostgreSQL database.
- Supports metadata management of PostgreSQL (12.x, 13.x, 14.x, 15.x, 16.x).
- Supports DDL operation for PostgreSQL schemas and tables.
-- Doesn't support table index operations.
-- Doesn't support setting certain column properties, such as default value and check constraints
+- Supports table index.
+- Supports column default value and auto-increment.
### Catalog properties
@@ -64,9 +64,9 @@ Please refer to [Manage Metadata Using Gravitino](./manage-metadata-using-gravit
### Schema capabilities
- Gravitino schema corresponds to the PostgreSQL schema.
-- Supports create schema with comments.
-- Supports drop schema.
-- Supports cascade drop schema.
+- Supports creating schema with comments.
+- Supports dropping schema.
+- Supports cascade dropping schema.
### Schema properties
@@ -82,8 +82,8 @@ Please refer to [Manage Metadata Using Gravitino](./manage-metadata-using-gravit
- The Gravitino table corresponds to the PostgreSQL table.
- Supports DDL operation for PostgreSQL tables.
-- Doesn't support setting certain column properties, such as default value and check constraints.
-- Doesn't support index definition.
+- Supports index.
+- Support column default value and auto-increment.
- Doesn't support table property settings.
#### Table column types