From 6f575cf4b3922aeb6ca866a970cefe100ddb9052 Mon Sep 17 00:00:00 2001 From: ZhenchaoXu <49646212+ixzc@users.noreply.github.com> Date: Wed, 2 Aug 2023 21:28:18 +0800 Subject: [PATCH] [typo](doc)Add a description of whether one of the dynamic partitioning parameters must be required. (#22422) --- docs/en/docs/advanced/partition/dynamic-partition.md | 6 +++--- docs/zh-CN/docs/advanced/partition/dynamic-partition.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/en/docs/advanced/partition/dynamic-partition.md b/docs/en/docs/advanced/partition/dynamic-partition.md index 0511b93af4..99ab594cdd 100644 --- a/docs/en/docs/advanced/partition/dynamic-partition.md +++ b/docs/en/docs/advanced/partition/dynamic-partition.md @@ -83,7 +83,7 @@ The rules of dynamic partition are prefixed with `dynamic_partition.`: Whether to enable the dynamic partition feature. Can be specified as `TRUE` or` FALSE`. If not filled, the default is `TRUE`. If it is `FALSE`, Doris will ignore the dynamic partitioning rules of the table. -* `dynamic_partition.time_unit` +* `dynamic_partition.time_unit`(required parameters) The unit for dynamic partition scheduling. Can be specified as `HOUR`,`DAY`,` WEEK`, `MONTH` and `YEAR`, means to create or delete partitions by hour, day, week, month and year, respectively. @@ -105,11 +105,11 @@ The rules of dynamic partition are prefixed with `dynamic_partition.`: The starting offset of the dynamic partition, usually a negative number. Depending on the `time_unit` attribute, based on the current day (week / month), the partitions with a partition range before this offset will be deleted. If not filled, the default is `-2147483648`, that is, the history partition will not be deleted. -* `dynamic_partition.end` +* `dynamic_partition.end`(required parameters)     The end offset of the dynamic partition, usually a positive number. According to the difference of the `time_unit` attribute, the partition of the corresponding range is created in advance based on the current day (week / month). -* `dynamic_partition.prefix` +* `dynamic_partition.prefix`(required parameters)     The dynamically created partition name prefix. diff --git a/docs/zh-CN/docs/advanced/partition/dynamic-partition.md b/docs/zh-CN/docs/advanced/partition/dynamic-partition.md index 6aca4aafc3..ac61891d97 100644 --- a/docs/zh-CN/docs/advanced/partition/dynamic-partition.md +++ b/docs/zh-CN/docs/advanced/partition/dynamic-partition.md @@ -76,7 +76,7 @@ under the License. 是否开启动态分区特性。可指定为 `TRUE` 或 `FALSE`。如果不填写,默认为 `TRUE`。如果为 `FALSE`,则 Doris 会忽略该表的动态分区规则。 -- `dynamic_partition.time_unit` +- `dynamic_partition.time_unit`(必选参数) 动态分区调度的单位。可指定为 `HOUR`、`DAY`、`WEEK`、`MONTH`、`YEAR`。分别表示按小时、按天、按星期、按月、按年进行分区创建或删除。 @@ -98,11 +98,11 @@ under the License. 动态分区的起始偏移,为负数。根据 `time_unit` 属性的不同,以当天(星期/月)为基准,分区范围在此偏移之前的分区将会被删除。如果不填写,则默认为 `-2147483648`,即不删除历史分区。 -- `dynamic_partition.end` +- `dynamic_partition.end`(必选参数) 动态分区的结束偏移,为正数。根据 `time_unit` 属性的不同,以当天(星期/月)为基准,提前创建对应范围的分区。 -- `dynamic_partition.prefix` +- `dynamic_partition.prefix`(必选参数) 动态创建的分区名前缀。