[typo](doc)Add a description of whether one of the dynamic partitioning parameters must be required. (#22422)

This commit is contained in:
ZhenchaoXu
2023-08-02 21:28:18 +08:00
committed by GitHub
parent 2ff4e9d79d
commit 6f575cf4b3
2 changed files with 6 additions and 6 deletions

View File

@ -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.

View File

@ -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`(必选参数)
动态创建的分区名前缀。