doc-exports/docs/dws/tool/dws_16_0160.html
Lu, Huayi 27019c2991 DWS TOOL 830.201 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-05-16 07:35:25 +00:00

1.9 KiB

ROUNDROBIN Table

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

Input

CREATE TABLE charge_snapshot (
	id bigint NOT NULL,
	profit_model integer,
	ladder_rebate_rule text
);

Output

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;