添加create table partition帮助中支持distribute功能的约束
This commit is contained in:
@ -22,6 +22,7 @@ CREATE TABLE [ IF NOT EXISTS ] partition_table_name
|
|||||||
[ COMPRESS | NOCOMPRESS ]
|
[ COMPRESS | NOCOMPRESS ]
|
||||||
[ TABLESPACE tablespace_name ]
|
[ TABLESPACE tablespace_name ]
|
||||||
[ DISTRIBUTE BY { REPLICATION | { [ HASH ] ( column_name ) } } ]
|
[ DISTRIBUTE BY { REPLICATION | { [ HASH ] ( column_name ) } } ]
|
||||||
|
NOTICE: DISTRIBUTE BY is only avaliable in DISTRIBUTED mode!
|
||||||
[ TO { GROUP groupname | NODE ( nodename [, ... ] ) } ]
|
[ TO { GROUP groupname | NODE ( nodename [, ... ] ) } ]
|
||||||
PARTITION BY {
|
PARTITION BY {
|
||||||
{VALUES (partition_key)} |
|
{VALUES (partition_key)} |
|
||||||
|
Reference in New Issue
Block a user