Skip to content

Commit bc0e6fe

Browse files
committed
Update auto-partitioning.md (#3377)
## Summary - Update the auto partition + dynamic partition example to use `\"dynamic_partition.enable\" = \"false\"` when `dynamic_partition.end = \"0\"`. - Apply this correction to `3.x` for both English and Chinese docs. - Checked `dev` and `4.x` (English + Chinese); this example block is not present there, so no additional changes are needed. ## Versions - [ ] dev - [ ] 4.x - [x] 3.x - [ ] 2.1 - [ ] 2.0 ## Languages - [x] Chinese - [x] English ## Docs Checklist - [ ] Checked by AI - [ ] Test Cases Built ## Reference - Original PR: #2501
1 parent 98fd5ac commit bc0e6fe

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/table-design/data-partitioning/auto-partitioning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ auto partition by range (date_trunc(k0, 'year'))
243243
)
244244
DISTRIBUTED BY HASH(`k0`) BUCKETS 2
245245
properties(
246-
"dynamic_partition.enable" = "true",
246+
"dynamic_partition.enable" = "false",
247247
"dynamic_partition.prefix" = "p",
248248
"dynamic_partition.start" = "-50",
249249
"dynamic_partition.end" = "0", --- Dynamic Partition 不创建分区

versioned_docs/version-3.x/table-design/data-partitioning/auto-partitioning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ auto partition by range (date_trunc(k0, 'year'))
246246
)
247247
DISTRIBUTED BY HASH(`k0`) BUCKETS 2
248248
properties(
249-
"dynamic_partition.enable" = "true",
249+
"dynamic_partition.enable" = "false",
250250
"dynamic_partition.prefix" = "p",
251251
"dynamic_partition.start" = "-50",
252252
"dynamic_partition.end" = "0", --- Dynamic Partition No Partition Creation

0 commit comments

Comments
 (0)