Apache Doris 中文技术论坛
Questions Tags Users Badges

doris怎么增加多个分区?

Asked Feb 13 Modified Jan 1, 0001
Viewed 45
2.1

官网增加分区只有增加单个分区,ALTER TABLE example_db.my_table
ADD PARTITION p1 VALUES LESS THAN ("2014-01-01");
如果要增加多个分区怎么写

edited Jan 1, 0001
wakin7
asked Feb 13
1 Answers

你可以考虑下自动分区和动态分区
https://doris.apache.org/zh-CN/docs/table-design/data-partitioning/dynamic-partitioning
https://doris.apache.org/zh-CN/docs/table-design/data-partitioning/auto-partitioning

edited Jan 1, 1970
徐振超@SelectDB7846
answered Feb 13
Related Questions
查询Paimon的Catalog经常超时,查询不到数据。
spark-doris-connector,Unknown column 'null' in 'table list'
1 answers
2.1.7Doris posexplode函数
doris写hive表时如何合并小文件?
show partitions from table里的DataSize为0
1 answers
2.1.10 执行JDBC insert SQL的时候报BufferUnderflowException错误
1 answers

Terms of service Privacy policy

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2025 Apache Doris 中文技术论坛.