Skip to content

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

[Minor] improve(doc) : Update Paimon Catalog doc in `manage-relational-metadata-using-gravitino.md` (#4544)

cai can9f3bdd44de1c
diff --git a/docs/manage-relational-metadata-using-gravitino.md b/docs/manage-relational-metadata-using-gravitino.md
index 6b9bda3006..228be9f7a5 100644
--- a/docs/manage-relational-metadata-using-gravitino.md
+++ b/docs/manage-relational-metadata-using-gravitino.md
@@ -23,6 +23,7 @@ For more details, please refer to the related doc.
- [**PostgreSQL**](./jdbc-postgresql-catalog.md)
- [**Apache Doris**](./jdbc-doris-catalog.md)
- [**Apache Iceberg**](./lakehouse-iceberg-catalog.md)
+- [**Apache Paimon**](./lakehouse-paimon-catalog.md)
Assuming:
@@ -76,7 +77,7 @@ Map<String, String> hiveProperties = ImmutableMap.<String, String>builder()
Catalog catalog = gravitinoClient.createCatalog("catalog",
Type.RELATIONAL,
- "hive", // provider, We support hive, jdbc-mysql, jdbc-postgresql, lakehouse-iceberg, etc.
+ "hive", // provider, We support hive, jdbc-mysql, jdbc-postgresql, lakehouse-iceberg, lakehouse-paimon etc.
"This is a hive catalog",
hiveProperties); // Please change the properties according to the value of the provider.
// ...
@@ -87,13 +88,14 @@ Catalog catalog = gravitinoClient.createCatalog("catalog",
Currently, Gravitino supports the following catalog providers:
-| Catalog provider | Catalog property |
-|---------------------|--------------------------------------------------------------------------------|
-| `hive` | [Hive catalog property](./apache-hive-catalog.md#catalog-properties) |
-| `lakehouse-iceberg` | [Iceberg catalog property](./lakehouse-iceberg-catalog.md#catalog-properties) |
-| `jdbc-mysql` | [MySQL catalog property](./jdbc-mysql-catalog.md#catalog-properties) |
-| `jdbc-postgresql` | [PostgreSQL catalog property](./jdbc-postgresql-catalog.md#catalog-properties) |
-| `jdbc-doris` | [Doris catalog property](./jdbc-doris-catalog.md#catalog-properties) |
+| Catalog provider | Catalog property |
+|---------------------|---------------------------------------------------------------------------------|
+| `hive` | [Hive catalog property](./apache-hive-catalog.md#catalog-properties) |
+| `lakehouse-iceberg` | [Iceberg catalog property](./lakehouse-iceberg-catalog.md#catalog-properties) |
+| `lakehouse-paimon` | [Paimon catalog property](./lakehouse-paimon-catalog.md#catalog-properties) |
+| `jdbc-mysql` | [MySQL catalog property](./jdbc-mysql-catalog.md#catalog-properties) |
+| `jdbc-postgresql` | [PostgreSQL catalog property](./jdbc-postgresql-catalog.md#catalog-properties) |
+| `jdbc-doris` | [Doris catalog property](./jdbc-doris-catalog.md#catalog-properties) |
### Load a catalog
@@ -323,6 +325,7 @@ Currently, Gravitino supports the following schema property:
|---------------------|------------------------------------------------------------------------------|
| `hive` | [Hive schema property](./apache-hive-catalog.md#schema-properties) |
| `lakehouse-iceberg` | [Iceberg scheme property](./lakehouse-iceberg-catalog.md#schema-properties) |
+| `lakehouse-paimon` | [Paimon scheme property](./lakehouse-paimon-catalog.md#schema-properties) |
| `jdbc-mysql` | [MySQL schema property](./jdbc-mysql-catalog.md#schema-properties) |
| `jdbc-postgresql` | [PostgreSQL schema property](./jdbc-postgresql-catalog.md#schema-properties) |
| `jdbc-doris` | [Doris schema property](./jdbc-doris-catalog.md#schema-properties) |
@@ -803,6 +806,7 @@ The following is a table of the column default value that Gravitino supports for
|---------------------|-------------------------|
| `hive` | &#10008; |
| `lakehouse-iceberg` | &#10008; |
+| `lakehouse-paimon` | &#10008; |
| `jdbc-mysql` | &#10004; |
| `jdbc-postgresql` | &#10004; |
@@ -815,6 +819,7 @@ The following table shows the column auto-increment that Gravitino supports for
|---------------------|------------------------------------------------------------------------------|
| `hive` | &#10008; |
| `lakehouse-iceberg` | &#10008; |
+| `lakehouse-paimon` | &#10008; |
| `jdbc-mysql` | &#10004;([limitations](./jdbc-mysql-catalog.md#table-column-auto-increment)) |
| `jdbc-postgresql` | &#10004; |
@@ -826,6 +831,7 @@ The following is the table property that Gravitino supports:
|---------------------|----------------------------------------------------------------------------|----------------------------------------------------------------------------|
| `hive` | [Hive table property](./apache-hive-catalog.md#table-properties) | [Hive type mapping](./apache-hive-catalog.md#table-column-types) |
| `lakehouse-iceberg` | [Iceberg table property](./lakehouse-iceberg-catalog.md#table-properties) | [Iceberg type mapping](./lakehouse-iceberg-catalog.md#table-column-types) |
+| `lakehouse-paimon` | [Paimon table property](./lakehouse-paimon-catalog.md#table-properties) | [Paimon type mapping](./lakehouse-paimon-catalog.md#table-column-types) |
| `jdbc-mysql` | [MySQL table property](./jdbc-mysql-catalog.md#table-properties) | [MySQL type mapping](./jdbc-mysql-catalog.md#table-column-types) |
| `jdbc-postgresql` | [PostgreSQL table property](./jdbc-postgresql-catalog.md#table-properties) | [PostgreSQL type mapping](./jdbc-postgresql-catalog.md#table-column-types) |
| `doris` | [Doris table property](./jdbc-doris-catalog.md#table-properties) | [Doris type mapping](./jdbc-doris-catalog.md#table-column-types) |
@@ -980,7 +986,7 @@ There are two ways to remove a table: `dropTable` and `purgeTable`:
* `dropTable` removes both the metadata and the directory associated with the table from the file system if the table is not an external table. In case of an external table, only the associated metadata is removed.
* `purgeTable` completely removes both the metadata and the directory associated with the table and skipping trash, if the table is an external table or the catalogs don't support purge table, `UnsupportedOperationException` is thrown.
-Hive catalog and lakehouse-iceberg catalog supports `purgeTable` while jdbc-mysql and jdbc-postgresql catalog doesn't support.
+Hive catalog and lakehouse-iceberg catalog supports `purgeTable` while jdbc-mysql, jdbc-postgresql and lakehouse-paimon catalog doesn't support.
### List all tables under a schema