This is an automated email from the ASF dual-hosted git repository.
fanng 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 9f3bdd44d [Minor] improve(doc) : Update Paimon Catalog doc in
`manage-relational-metadata-using-gravitino.md` (#4544)
9f3bdd44d is described below
commit 9f3bdd44de1ce586999eb9f68a05e54f81feac0c
Author: cai can <[email protected]>
AuthorDate: Thu Aug 15 23:41:37 2024 +0800
[Minor] improve(doc) : Update Paimon Catalog doc in
`manage-relational-metadata-using-gravitino.md` (#4544)
### What changes were proposed in this pull request?
Add Paimon catalog information to the
`manage-relational-metadata-using-gravitino.md` doc.
---
docs/manage-relational-metadata-using-gravitino.md | 24 ++++++++++++++--------
1 file changed, 15 insertions(+), 9 deletions(-)
diff --git a/docs/manage-relational-metadata-using-gravitino.md
b/docs/manage-relational-metadata-using-gravitino.md
index 6b9bda300..228be9f7a 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` | ✘ |
| `lakehouse-iceberg` | ✘ |
+| `lakehouse-paimon` | ✘ |
| `jdbc-mysql` | ✔ |
| `jdbc-postgresql` | ✔ |
@@ -815,6 +819,7 @@ The following table shows the column auto-increment that
Gravitino supports for
|---------------------|------------------------------------------------------------------------------|
| `hive` | ✘
|
| `lakehouse-iceberg` | ✘
|
+| `lakehouse-paimon` | ✘
|
| `jdbc-mysql` |
✔([limitations](./jdbc-mysql-catalog.md#table-column-auto-increment)) |
| `jdbc-postgresql` | ✔
|
@@ -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