summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavan Deolasee2016-01-25 16:46:41 +0000
committerPavan Deolasee2016-10-18 09:47:51 +0000
commit0ec232c65883bdda854d3e2659f68775d0539352 (patch)
tree305866bd2936650a74e25752416116c67f377d0a
parent65689f5905e06c954365a4f5e072f276794386bf (diff)
Add missing DISTRIBUTE RANDOMLY to the specs in the documentation
-rwxr-xr-xdoc/src/sgml/ref/create_table.sgml4
-rwxr-xr-xdoc/src/sgml/ref/create_table_as.sgml2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sgml/ref/create_table.sgml b/doc/src/sgml/ref/create_table.sgml
index bdf6ac7305..0c9b752c95 100755
--- a/doc/src/sgml/ref/create_table.sgml
+++ b/doc/src/sgml/ref/create_table.sgml
@@ -33,7 +33,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
[ TABLESPACE <replaceable class="PARAMETER">tablespace_name</replaceable> ]
[
DISTRIBUTE BY { REPLICATION | ROUNDROBIN | { [HASH | MODULO ] ( <replaceable class="PARAMETER">column_name</replaceable> ) } } |
- DISTRIBUTED { BY ( <replaceable class="PARAMETER">column_name</replaceable> ) } |
+ DISTRIBUTED { { BY ( <replaceable class="PARAMETER">column_name</replaceable> ) } | { RANDOMLY } |
DISTSTYLE { EVEN | KEY | ALL } DISTKEY ( <replaceable class="PARAMETER">column_name</replaceable> )
]
[ TO { GROUP <replaceable class="PARAMETER">groupname</replaceable> | NODE ( <replaceable class="PARAMETER">nodename</replaceable> [, ... ] ) } ]
@@ -49,7 +49,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
[ TABLESPACE <replaceable class="PARAMETER">tablespace_name</replaceable> ]
[
DISTRIBUTE BY { REPLICATION | ROUNDROBIN | { [HASH | MODULO ] ( <replaceable class="PARAMETER">column_name</replaceable> ) } } |
- DISTRIBUTED { BY ( <replaceable class="PARAMETER">column_name</replaceable> ) } |
+ DISTRIBUTED { { BY ( <replaceable class="PARAMETER">column_name</replaceable> ) } | { RANDOMLY } |
DISTSTYLE { EVEN | KEY | ALL } DISTKEY ( <replaceable class="PARAMETER">column_name</replaceable> )
]
[ TO { GROUP <replaceable class="PARAMETER">groupname</replaceable> | NODE ( <replaceable class="PARAMETER">nodename</replaceable> [, ... ] ) } ]
diff --git a/doc/src/sgml/ref/create_table_as.sgml b/doc/src/sgml/ref/create_table_as.sgml
index 273157b243..dad9805059 100755
--- a/doc/src/sgml/ref/create_table_as.sgml
+++ b/doc/src/sgml/ref/create_table_as.sgml
@@ -28,7 +28,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
[ TABLESPACE <replaceable class="PARAMETER">tablespace_name</replaceable> ]
[
DISTRIBUTE BY { REPLICATION | ROUNDROBIN | { [HASH | MODULO ] ( <replaceable class="PARAMETER">column_name</replaceable> ) } } |
- DISTRIBUTED { BY ( <replaceable class="PARAMETER">column_name</replaceable> ) } |
+ DISTRIBUTED { { BY ( <replaceable class="PARAMETER">column_name</replaceable> ) } | { RANDOMLY } |
DISTSTYLE { EVEN | KEY | ALL } DISTKEY ( <replaceable class="PARAMETER">column_name</replaceable> )
]
[ TO { GROUP <replaceable class="PARAMETER">groupname</replaceable> | NODE ( <replaceable class="PARAMETER">nodename</replaceable> [, ... ] ) } ]