插入时nodeGroup的节点数量怎么获取

CREATE NODE GROUP ngrp3 WITH (dn1,dn2);

CREATE TABLE testgrp3 (id int primary key, note text) DISTRIBUTE BY HASH(id) TO GROUP ngrp3;

insert into testgrp3 values(1, 'text');

r.rd_locator_info.nodeList

posted @ 2021-09-29 00:52  stupidstan2019  阅读(84)  评论(0编辑  收藏  举报