[Enhancement](alter) support add partitions in batch#37114
[Enhancement](alter) support add partitions in batch#37114dataroaring merged 7 commits intoapache:masterfrom
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
run buildall |
TPC-H: Total hot run time: 39534 ms |
TPC-DS: Total hot run time: 174581 ms |
ClickBench: Total hot run time: 30.96 s |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
|
run buildall |
TPC-H: Total hot run time: 39627 ms |
TPC-DS: Total hot run time: 170831 ms |
ClickBench: Total hot run time: 30.82 s |
|
run buildall |
TPC-H: Total hot run time: 39678 ms |
TPC-DS: Total hot run time: 172591 ms |
ClickBench: Total hot run time: 30.52 s |
| """ | ||
| List<List<Object>> result1 = sql "show partitions from add_multi_partition;" | ||
| assertEquals(result1.size(), 1) | ||
| sql "ALTER TABLE add_multi_partition ADD PARTITIONS FROM ('2019-01-01') TO ('2025-01-01') INTERVAL 1 YEAR;" |
There was a problem hiding this comment.
the test is too simple.
Should test more complicated case.
For example, partition by day, then the partition interval is 5 day, to test if we could deal with Feb 29 or Aug 31.
And also test, if could support 3min
There was a problem hiding this comment.
added 0229 partition. No problem
9c9434e to
dbdf299
Compare
|
run buildall |
TPC-DS: Total hot run time: 173221 ms |
ClickBench: Total hot run time: 30.76 s |
|
PR approved by at least one committer and no changes requested. |
a765b63 to
e247c1b
Compare
|
run buildall |
TPC-H: Total hot run time: 42213 ms |
TPC-DS: Total hot run time: 167815 ms |
ClickBench: Total hot run time: 29.76 s |
## Proposed changes Issue Number: close #32524
# Versions - [x] dev - [x] 3.0 - [x] 2.1 - [x] 2.0 # Languages - [x] Chinese - [x] English Doris PR: apache/doris#37114
# Versions - [x] dev - [x] 3.0 - [x] 2.1 - [x] 2.0 # Languages - [x] Chinese - [x] English Doris PR: apache/doris#37114
# Versions - [x] dev - [x] 3.0 - [x] 2.1 - [x] 2.0 # Languages - [x] Chinese - [x] English Doris PR: apache/doris#37114
Proposed changes
Issue Number: close #32524