Files
doc-exports/docs/dws/tool/dws_16_0160.html
luhuayi a5e3903f6b DWS TG 910.211 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: luhuayi <luhuayi@huawei.com>
Co-committed-by: luhuayi <luhuayi@huawei.com>
2025-04-23 13:53:01 +00:00

4.3 KiB

ROUNDROBIN Table

GaussDB(DWS) supports the creation of roundrobin tables. You can set table.type in Table 1. Set table.type=ROUND-ROBIN.

Input

1
2
3
4
5
CREATE TABLE charge_snapshot (
	id bigint NOT NULL,
	profit_model integer,
	ladder_rebate_rule text
);

Output

1
2
3
4
5
CREATE TABLE "public"."charge_snapshot" (
  "id" BIGINT NOT NULL,
  "profit_model" INTEGER,
  "ladder_rebate_rule" TEXT
) WITH (ORIENTATION = ROW, COMPRESSION = NO) NOCOMPRESS DISTRIBUTE BY ROUNDROBIN;