-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add dynamic-partition #1734
add dynamic-partition #1734
Conversation
...ocusaurus-plugin-content-docs/current/table-design/data-partitioning/dynamic-partitioning.md
Outdated
Show resolved
Hide resolved
...ocusaurus-plugin-content-docs/current/table-design/data-partitioning/dynamic-partitioning.md
Outdated
Show resolved
Hide resolved
...ocusaurus-plugin-content-docs/current/table-design/data-partitioning/dynamic-partitioning.md
Outdated
Show resolved
Hide resolved
...ocusaurus-plugin-content-docs/current/table-design/data-partitioning/dynamic-partitioning.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
); | ||
``` | ||
|
||
假设当前日期为 2020-05-29,是 2020 年的第 22 周。默认每周起始为星期一。则以上规则,tbl1 会产生以下分区: | ||
上例中创建了动态分区表,指定以下 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
后面缺少了内容?还是多了换行?
|
||
- LastSchedulerTime: 最后一次执行动态分区调度的时间 | ||
在使用 start 与 end 属性指定动态分区数量时,为了避免一次性创建所有的分区造成等待时间过长,不会创建历史分区,只会创建当前时间以后得分区。如果需要一次性创建所有分区,需要开启 `create_history_partition` 参数。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个原因应该不是为了避免创建时间过长,而是除了一些补数的场景,用dynamic partition表的时候一般只面向未来,不需要历史分区。
...ocusaurus-plugin-content-docs/current/table-design/data-partitioning/dynamic-partitioning.md
Show resolved
Hide resolved
...ocusaurus-plugin-content-docs/current/table-design/data-partitioning/dynamic-partitioning.md
Show resolved
Hide resolved
## Versions - [x] dev - [x] 3.0 - [x] 2.1 - [ ] 2.0 ## Languages - [x] Chinese - [x] English ## Docs Checklist - [ ] Checked by AI - [ ] Test Cases Built
Versions
Languages
Docs Checklist