diff --git a/docs/en/docs/data-table/data-partition.md b/docs/en/docs/data-table/data-partition.md index b62342101d..324d979baa 100644 --- a/docs/en/docs/data-table/data-partition.md +++ b/docs/en/docs/data-table/data-partition.md @@ -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: diff --git a/docs/zh-CN/docs/data-table/data-partition.md b/docs/zh-CN/docs/data-table/data-partition.md index 8dbb83fb8b..68fcfe02fd 100644 --- a/docs/zh-CN/docs/data-table/data-partition.md +++ b/docs/zh-CN/docs/data-table/data-partition.md @@ -157,6 +157,8 @@ Doris 支持两层的数据划分。第一层是 Partition,支持 Range 和 Li - 分区列通常为时间列,以方便的管理新旧数据。 + - Range 分区支持的列类型:[DATE,DATETIME,TINYINT,SMALLINT,INT,BIGINT,LARGEINT] + - Partition 支持通过 `VALUES LESS THAN (...)` 仅指定上界,系统会将前一个分区的上界作为该分区的下界,生成一个左闭右开的区间。也支持通过 `VALUES [...)` 指定上下界,生成一个左闭右开的区间。