hardstuding opened a new issue, #64877: URL: https://github.com/apache/doris/issues/64877
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version doris version 3 ### What's Wrong? I try use Auto Partition + Dynamic Partition,and set "dynamic_partition.end" = "0",but it creat a partition. And "dynamic_partition.end" not support -1. How can I do? Update doris to 4.0? <img width="1011" height="585" alt="Image" src="https://github.com/user-attachments/assets/c586c4ac-ad85-4a48-852a-d96032981a49" /> `CREATE TABLE `dws_province_sale_di` ( `dt` datetime NOT NULL COMMENT "分区日期,yyyy-MM-dd", `province_area_code` varchar(255) NOT NULL COMMENT "省编码", `province_area_name` text NULL COMMENT "省名称", `order_cnt` bigint NULL COMMENT "订单数", `total_cost` float NULL COMMENT "GMV" ) ENGINE=OLAP UNIQUE KEY(`dt`, `province_area_code`) COMMENT 'demo,省销量统计。table_info={\"author\": \"[email protected]\", \"create_time\": \"2025-12-08\", \"biz_owner\": \"[email protected]\", \"tech_owner\": \"[email protected]\", \"source_system\": \"mysql\", \"security_level\": \"P3\"}' AUTO PARTITION BY RANGE (date_trunc(`dt`, 'day')) (PARTITION p20260626 VALUES [('2026-06-26 00:00:00'), ('2026-06-27 00:00:00'))) DISTRIBUTED BY HASH(`province_area_code`) BUCKETS 10 PROPERTIES ( "replication_allocation" = "tag.location.default: 3", "min_load_replica_num" = "-1", "is_being_synced" = "false", "dynamic_partition.enable" = "true", "dynamic_partition.time_unit" = "DAY", "dynamic_partition.time_zone" = "Asia/Shanghai", "dynamic_partition.start" = "-365", "dynamic_partition.end" = "0", "dynamic_partition.prefix" = "p", "dynamic_partition.replication_allocation" = "tag.location.default: 3", "dynamic_partition.buckets" = "10", "dynamic_partition.create_history_partition" = "false", "dynamic_partition.history_partition_num" = "-1", "dynamic_partition.hot_partition_num" = "0", "dynamic_partition.reserved_history_periods" = "NULL", "dynamic_partition.storage_policy" = "", "storage_medium" = "hdd", "storage_format" = "V2", "inverted_index_storage_format" = "V2", "enable_unique_key_merge_on_write" = "true", "light_schema_change" = "true", "disable_auto_compaction" = "false", "enable_single_replica_compaction" = "false", "group_commit_interval_ms" = "10000", "group_commit_data_bytes" = "134217728", "enable_mow_light_delete" = "false" );` ### What You Expected? solve this bug,or rewrite doc https://doris.apache.org/docs/3.x/table-design/data-partitioning/auto-partitioning?_highlight=auto ### How to Reproduce? CREATE TABLE testdb.dws_province_sale_di ( `dt` DATETIME NOT NULL COMMENT '分区日期,yyyy-MM-dd', `province_area_code` varchar(255) NOT NULL COMMENT '省编码', `province_area_name` string NULL COMMENT '省名称', `order_cnt` bigint NULL COMMENT '订单数', `total_cost` float NULL COMMENT 'GMV' ) ENGINE = OLAP UNIQUE KEY(`dt`, `province_area_code`) COMMENT 'demo,省销量统计。table_info={"author": "[email protected]", "create_time": "2025-12-08", "biz_owner": "[email protected]", "tech_owner": "[email protected]", "source_system": "mysql", "security_level": "P3"}' AUTO PARTITION BY RANGE (date_trunc(`dt`, 'day')) () DISTRIBUTED BY HASH(`province_area_code`) BUCKETS 10 PROPERTIES ( "replication_num" = "3", "storage_format" = "V2", "dynamic_partition.enable" = "true", "dynamic_partition.time_unit" = "DAY", "dynamic_partition.start" = "-365", "dynamic_partition.end" = "0", "dynamic_partition.prefix" = "p", "dynamic_partition.buckets" = "10" ) ### Anything Else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
