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

2.0.13 执行 ALTRER COLOCATE GROUP 修改表副本数报错

Asked Apr 8 Modified Apr 8
Viewed 17
2.0

如题:我想缩减表的副本数,由于建表时指定了"colocate_with" = "xx_colocate_group",执行下面SQL时报错

ALTER COLOCATE GROUP xxdb.xx_colocate_group
SET (
    "replication_allocation"="tag.location.default:1"
);

下面的也不行

ALTER COLOCATE GROUP xx_db.xx_colocate_group
   SET (
       "replication_num"="1"
   );

image.png

文档链接是参考下面:
https://doris.apache.org/zh-CN/docs/2.0/sql-manual/sql-reference/Data-Definition-Statements/Alter/ALTER-COLOCATE-GROUP?_highlight=colocate&_highlight=group

edited Apr 8
danvid5
asked Apr 8
1 Answers

应该是当前版本语法还不兼容导致,看能否先重建下的

edited Jan 1, 1970
张彬华7678
answered Apr 8
Related Questions
bdb过大,3FE因为其中一台机器故障导致fe启动不了,选定了一个fe作为master重新租了集群
1 answers
官方镜像gdb使用报错
1 answers
left join 报错
1 answers
doris2.0.15 unique表部分更新出现副本数据不一致
1 answers
doris 2.0.4 某tablet持续base compaction失败重试
1 answers
执行insert into select语句,偶发be与fe连接错误,[THRIFT_RPC_ERROR]Couldn't open transport for 10.1.0.23:9020 (open() timed out)
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 中文技术论坛.