-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](fe) LIST partition table support modify default bucket num #39696
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
[fix](fe) LIST partition table support modify default bucket num #39696
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
af5d6b7 to
116f470
Compare
|
run buildall |
morningman
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. |
|
PR approved by anyone and no changes requested. |
TPC-H: Total hot run time: 38634 ms |
TPC-DS: Total hot run time: 198569 ms |
ClickBench: Total hot run time: 31.81 s |
116f470 to
766b8a5
Compare
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
|
PR approved by at least one committer and no changes requested. |
|
run buildall |
) ## Proposed changes bp #39696 Issue Number: close #39684 ```sql CREATE TABLE `test1` ( `id1` VARCHAR(255) NULL COMMENT 'id1', `id2` VARCHAR(255) NULL COMMENT 'id2', `event_time` VARCHAR(255) NULL COMMENT '事件时间', `event_date` VARCHAR(255) NULL COMMENT '事件日期', `event_ts` VARCHAR(256) NULL COMMENT '事件发生时间戳(毫秒)', `dt` VARCHAR(255) NOT NULL COMMENT '日期分区', `hr` VARCHAR(255) NOT NULL COMMENT '小时分区' ) ENGINE = OLAP DUPLICATE KEY(`id1`) COMMENT 'xxx' PARTITION BY LIST(`dt`, `hr`) ( PARTITION p2024082021 VALUES IN (("2024-08-20", "21")) ) DISTRIBUTED BY HASH(`dt`, `hr`) BUCKETS 2 PROPERTIES ( "replication_allocation" = "tag.location.default: 1", "min_load_replica_num" = "-1", "is_being_synced" = "false", "storage_medium" = "hdd", "storage_format" = "V2", "inverted_index_storage_format" = "V1", "light_schema_change" = "true", "disable_auto_compaction" = "false", "enable_single_replica_compaction" = "false", "group_commit_interval_ms" = "10000", "group_commit_data_bytes" = "134217728" ); ``` 1. 修改前表已有分区的bucket num为2  2. 修改List分区表bucket num(从2 -> 4)  3. 修改List分区后,添加的新分区bucket num为4  Co-authored-by: tongyang.han <tongyang.han@jiduauto.com>
TPC-H: Total hot run time: 37629 ms |
TPC-DS: Total hot run time: 191184 ms |
ClickBench: Total hot run time: 30.66 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
) Issue Number: close #39684 Co-authored-by: tongyang.han <tongyang.han@jiduauto.com>
Proposed changes
Issue Number: close #39684