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

jshao pushed a commit to branch branch-0.7
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/branch-0.7 by this push:
     new 08c73de1d [#5399] fix (docs): Add a description of reserved properties 
to the `trino-connector/catalog-hive.md` documentation. (#5417)
08c73de1d is described below

commit 08c73de1de7f5fcb9a2adedc3833dfaa016830b7
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Nov 1 13:32:48 2024 +0800

    [#5399] fix (docs): Add a description of reserved properties to the 
`trino-connector/catalog-hive.md` documentation. (#5417)
    
    ### What changes were proposed in this pull request?
    
    Some properties are automatically added and managed as reserved
    properties.
    Update the doc to describe them
    
    ### Why are the changes needed?
    
    Fix: #5399
    
    ### Does this PR introduce _any_ user-facing change?
    
    Update docs
    
    ### How was this patch tested?
    
    No
    
    Co-authored-by: Yuhui <[email protected]>
---
 docs/trino-connector/catalog-hive.md | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/docs/trino-connector/catalog-hive.md 
b/docs/trino-connector/catalog-hive.md
index 106575406..77a738f3d 100644
--- a/docs/trino-connector/catalog-hive.md
+++ b/docs/trino-connector/catalog-hive.md
@@ -126,11 +126,7 @@ The following tables are the properties supported by the 
Hive table:
 | Property       | Description                             | Default Value     
                                         | Required | Reserved | Since Version |
 
|----------------|-----------------------------------------|------------------------------------------------------------|----------|----------|---------------|
 | format         | Hive storage format for the table       | TEXTFILE          
                                         | No       | No       | 0.2.0         |
-| total_size     | Total size of the table                 | (none)            
                                         | No       | Yes      | 0.2.0         |
-| num_files      | Number of files                         | 0                 
                                         | No       | Yes      | 0.2.0         |
-| external       | Indicate whether it's an external table | (none)            
                                         | No       | No       | 0.2.0         |
 | location       | HDFS location for table storage         | (none)            
                                         | No       | No       | 0.2.0         |
-| table_type     | The type of Hive table                  | (none)            
                                         | No       | No       | 0.2.0         |
 | input_format   | The input format class for the table    | 
org.apache.hadoop.mapred.TextInputFormat                   | No       | No      
 | 0.2.0         |
 | output_format  | The output format class for the table   | 
org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat | No       | No      
 | 0.2.0         |
 | serde_lib      | The serde library class for the table   | 
org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe         | No       | No      
 | 0.2.0         |
@@ -140,6 +136,15 @@ The following tables are the properties supported by the 
Hive table:
 | bucket_count   | Number of buckets for the table         | (none)            
                                         | No       | No       | 0.4.0         |
 | sorted_by      | Sorted columns for the table            | (none)            
                                         | No       | No       | 0.4.0         |
 
+The following properties are automatically added and managed as reserved 
properties. Users are not allowed to set these properties.
+
+| Property       | Description                             | Since Version |
+|----------------|-----------------------------------------|---------------|
+| total_size     | Total size of the table                 | 0.2.0         |
+| num_files      | Number of files                         | 0.2.0         |
+| external       | Indicate whether it's an external table | 0.2.0         |
+| table_type     | The type of Hive table                  | 0.2.0         |
+
 ## Basic usage examples
 
 You need to do the following steps before you can use the Hive catalog in 
Trino through Gravitino.

Reply via email to