This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch branch-0.6
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/branch-0.6 by this push:
new eddb570c8 [Minor] improve(doc): Update docs about partition management
for Doris catalog (#4564)
eddb570c8 is described below
commit eddb570c890b2b5f95f78af0d9fe143c8906cf4c
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Aug 16 18:18:42 2024 +0800
[Minor] improve(doc): Update docs about partition management for Doris
catalog (#4564)
### What changes were proposed in this pull request?
Update some docs about partition management for Doris catalog.
Co-authored-by: XiaoZ <[email protected]>
Co-authored-by: zhanghan18 <[email protected]>
---
docs/jdbc-doris-catalog.md | 13 +++++++++++++
docs/manage-table-partition-using-gravitino.md | 14 +++++++-------
2 files changed, 20 insertions(+), 7 deletions(-)
diff --git a/docs/jdbc-doris-catalog.md b/docs/jdbc-doris-catalog.md
index 1548455af..560f0baae 100644
--- a/docs/jdbc-doris-catalog.md
+++ b/docs/jdbc-doris-catalog.md
@@ -148,6 +148,19 @@ Unsupported for now.
</TabItem>
</Tabs>
+### Table partitions
+
+The Doris catalog supports partitioned tables.
+Users can create partitioned tables in the Doris catalog with specific
partitioning attributes. It is also supported to pre-assign partitions when
creating Doris tables.
+Note that although Gravitino supports several partitioning strategies, Apache
Doris inherently only supports these two partitioning strategies:
+
+- `RANGE`
+- `LIST`
+
+:::caution
+The `fieldName` specified in the partitioning attributes must be the name of
columns defined in the table.
+:::
+
### Table operations
Please refer to [Manage Relational Metadata Using
Gravitino](./manage-relational-metadata-using-gravitino.md#table-operations)
for more details.
diff --git a/docs/manage-table-partition-using-gravitino.md
b/docs/manage-table-partition-using-gravitino.md
index bf7f1a4c1..4e5ba87dd 100644
--- a/docs/manage-table-partition-using-gravitino.md
+++ b/docs/manage-table-partition-using-gravitino.md
@@ -19,13 +19,13 @@ Although many catalogs inherently manage partitions
automatically, there are sce
The following table shows the partition operations supported across various
catalogs in Gravitino:
-| Operation | Hive catalog | Iceberg catalog
| Jdbc-Mysql catalog | Jdbc-PostgreSQL
catalog |
-|-----------------------|--------------|-------------------------------------------------------------------------------|--------------------|-------------------------|
-| Add Partition | ✔ | ✘
| ✘ | ✘
|
-| Get Partition by Name | ✔ | ✘
| ✘ | ✘
|
-| List Partition Names | ✔ | ✘
| ✘ | ✘
|
-| List Partitions | ✔ | ✘
| ✘ | ✘
|
-| Drop Partition | ✔ | 🚀([Coming
Soon](https://github.com/apache/gravitino/issues/1655)) | ✘ |
✘ |
+| Operation | Hive catalog | Iceberg catalog
| Jdbc-Mysql catalog | Jdbc-PostgreSQL
catalog | Jdbc-Doris catalog |
+|-----------------------|--------------|-----------------------------------------------------------------------------|--------------------|-------------------------|--------------------|
+| Add Partition | ✔ | ✘
| ✘ | ✘
| ✔ |
+| Get Partition by Name | ✔ | ✘
| ✘ | ✘
| ✔ |
+| List Partition Names | ✔ | ✘
| ✘ | ✘
| ✔ |
+| List Partitions | ✔ | ✘
| ✘ | ✘
| ✔ |
+| Drop Partition | ✔ | 🚀([Coming
Soon](https://github.com/apache/gravitino/issues/1655)) | ✘
| ✘ | ✔ |
:::tip[WELCOME FEEDBACK]
If you need additional partition management support for a specific catalog,
please feel free to [create an
issue](https://github.com/apache/gravitino/issues/new/choose) on the [Gravitino
repository](https://github.com/apache/gravitino).