This is an automated email from the ASF dual-hosted git repository.

mchades 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 823dc6a1e [Minor] improve(doc): Update docs about partition management 
for Doris catalog (#4562)
823dc6a1e is described below

commit 823dc6a1e8c0e26c5287855da45611203c298b2d
Author: XiaoZ <[email protected]>
AuthorDate: Fri Aug 16 17:34:49 2024 +0800

    [Minor] improve(doc): Update docs about partition management for Doris 
catalog (#4562)
    
    ### What changes were proposed in this pull request?
    
    Update some docs about partition management for Doris catalog.
    
    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         | &#10004;     | &#10008;                              
                                        | &#10008;           | &#10008;         
       |
-| Get Partition by Name | &#10004;     | &#10008;                              
                                        | &#10008;           | &#10008;         
       |
-| List Partition Names  | &#10004;     | &#10008;                              
                                        | &#10008;           | &#10008;         
       |
-| List Partitions       | &#10004;     | &#10008;                              
                                        | &#10008;           | &#10008;         
       |
-| Drop Partition        | &#10004;     | &#128640;([Coming 
Soon](https://github.com/apache/gravitino/issues/1655)) | &#10008;           | 
&#10008;                |
+| Operation             | Hive catalog | Iceberg catalog                       
                                      | Jdbc-Mysql catalog | Jdbc-PostgreSQL 
catalog | Jdbc-Doris catalog |
+|-----------------------|--------------|-----------------------------------------------------------------------------|--------------------|-------------------------|--------------------|
+| Add Partition         | &#10004;     | &#10008;                              
                                      | &#10008;           | &#10008;           
     | &#10004;           |
+| Get Partition by Name | &#10004;     | &#10008;                              
                                      | &#10008;           | &#10008;           
     | &#10004;           |
+| List Partition Names  | &#10004;     | &#10008;                              
                                      | &#10008;           | &#10008;           
     | &#10004;           |
+| List Partitions       | &#10004;     | &#10008;                              
                                      | &#10008;           | &#10008;           
     | &#10004;           |
+| Drop Partition        | &#10004;     | &#128640;([Coming 
Soon](https://github.com/apache/gravitino/issues/1655))   | &#10008;           
| &#10008;                | &#10004;           | 
 
 :::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).

Reply via email to