[typo](doc) add column type description for range partition (#20691)

This commit is contained in:
bingquanzhao
2023-06-14 00:59:30 +08:00
committed by GitHub
parent fd97587aff
commit ba3e065955
2 changed files with 4 additions and 0 deletions

View File

@ -155,6 +155,8 @@ It is also possible to use one layer of data partitioning, If you do not write t
* Partitioning columns are usually time columns for easy management of old and new data.
* Range partitioning support column type: [DATE,DATETIME,TINYINT,SMALLINT,INT,BIGINT,LARGEINT]
* Range partitioning supports specifying only the upper bound by `VALUES LESS THAN (...)`. The system will use the upper bound of the previous partition as the lower bound of the next partition, and generate a left-closed right-open interval. It also supports specifying both the upper and lower bounds by `VALUES [...)`, and generate a left-closed right-open interval.
* The following takes the `VALUES [...)` method as an example since it is more comprehensible. It shows how the partition ranges change as we use the `VALUES LESS THAN (...)` statement to add or delete partitions:

View File

@ -157,6 +157,8 @@ Doris 支持两层的数据划分。第一层是 Partition,支持 Range 和 Li
- 分区列通常为时间列,以方便的管理新旧数据。
- Range 分区支持的列类型:[DATE,DATETIME,TINYINT,SMALLINT,INT,BIGINT,LARGEINT]
- Partition 支持通过 `VALUES LESS THAN (...)` 仅指定上界,系统会将前一个分区的上界作为该分区的下界,生成一个左闭右开的区间。也支持通过 `VALUES [...)` 指定上下界,生成一个左闭右开的区间。
<version since="1.2.0">