-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Enhancement](alter) support add partitions in batch #37114
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
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. |
lide-reed
left a comment
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
|
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
yujun777
left a comment
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
deardeng
left a comment
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
|
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 |
dataroaring
left a comment
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
## 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