|
@@ -16,7 +16,11 @@
|
|
role="bold">LOCAL<indexterm>
|
|
role="bold">LOCAL<indexterm>
|
|
<primary>LOCAL</primary>
|
|
<primary>LOCAL</primary>
|
|
</indexterm></emphasis><emphasis> </emphasis><emphasis role="bold">]
|
|
</indexterm></emphasis><emphasis> </emphasis><emphasis role="bold">]
|
|
- </emphasis> <emphasis role="bold">[, UNORDERED | ORDERED(</emphasis> <emphasis>bool </emphasis><emphasis role="bold">) ] [, STABLE | UNSTABLE ] [, PARALLEL [ (</emphasis> <emphasis>numthreads </emphasis><emphasis role="bold">) ] ] [, ALGORITHM(</emphasis> <emphasis>name </emphasis><emphasis role="bold">) ] )</emphasis></para>
|
|
|
|
|
|
+ </emphasis> <emphasis role="bold">[, UNORDERED | ORDERED(</emphasis>
|
|
|
|
+ <emphasis>bool </emphasis><emphasis role="bold">) ] [, STABLE | UNSTABLE ]
|
|
|
|
+ [, PARALLEL [ (</emphasis> <emphasis>numthreads </emphasis><emphasis
|
|
|
|
+ role="bold">) ] ] [, ALGORITHM(</emphasis> <emphasis>name
|
|
|
|
+ </emphasis><emphasis role="bold">) ] )</emphasis></para>
|
|
|
|
|
|
<para><informaltable colsep="1" frame="all" rowsep="1">
|
|
<para><informaltable colsep="1" frame="all" rowsep="1">
|
|
<tgroup cols="2">
|
|
<tgroup cols="2">
|
|
@@ -61,50 +65,70 @@
|
|
with all other nodes to acquire data; the operation maintains the
|
|
with all other nodes to acquire data; the operation maintains the
|
|
distribution of any previous DISTRIBUTE.</entry>
|
|
distribution of any previous DISTRIBUTE.</entry>
|
|
</row>
|
|
</row>
|
|
|
|
+
|
|
<row>
|
|
<row>
|
|
<entry><emphasis role="bold">UNORDERED</emphasis></entry>
|
|
<entry><emphasis role="bold">UNORDERED</emphasis></entry>
|
|
|
|
|
|
- <entry>Optional. Specifies the output record order is not significant.</entry>
|
|
|
|
|
|
+ <entry>Optional. Specifies the output record order is not
|
|
|
|
+ significant.</entry>
|
|
</row>
|
|
</row>
|
|
|
|
+
|
|
<row>
|
|
<row>
|
|
<entry><emphasis role="bold">ORDERED</emphasis></entry>
|
|
<entry><emphasis role="bold">ORDERED</emphasis></entry>
|
|
|
|
|
|
- <entry>Specifies the significance of the output record order.</entry>
|
|
|
|
|
|
+ <entry>Specifies the significance of the output record
|
|
|
|
+ order.</entry>
|
|
</row>
|
|
</row>
|
|
|
|
+
|
|
<row>
|
|
<row>
|
|
<entry><emphasis>bool</emphasis></entry>
|
|
<entry><emphasis>bool</emphasis></entry>
|
|
|
|
|
|
- <entry>When False, specifies the output record order is not significant. When True, specifies the default output record order.</entry>
|
|
|
|
|
|
+ <entry>When False, specifies the output record order is not
|
|
|
|
+ significant. When True, specifies the default output record
|
|
|
|
+ order.</entry>
|
|
</row>
|
|
</row>
|
|
|
|
+
|
|
<row>
|
|
<row>
|
|
<entry><emphasis role="bold">STABLE</emphasis></entry>
|
|
<entry><emphasis role="bold">STABLE</emphasis></entry>
|
|
|
|
|
|
- <entry>Optional. Specifies the input record order is significant.</entry>
|
|
|
|
|
|
+ <entry>Optional. Specifies the input record order is
|
|
|
|
+ significant.</entry>
|
|
</row>
|
|
</row>
|
|
|
|
+
|
|
<row>
|
|
<row>
|
|
<entry><emphasis role="bold">UNSTABLE</emphasis></entry>
|
|
<entry><emphasis role="bold">UNSTABLE</emphasis></entry>
|
|
|
|
|
|
- <entry>Optional. Specifies the input record order is not significant.</entry>
|
|
|
|
|
|
+ <entry>Optional. Specifies the input record order is not
|
|
|
|
+ significant.</entry>
|
|
</row>
|
|
</row>
|
|
|
|
+
|
|
<row>
|
|
<row>
|
|
<entry><emphasis role="bold">PARALLEL</emphasis></entry>
|
|
<entry><emphasis role="bold">PARALLEL</emphasis></entry>
|
|
|
|
|
|
- <entry>Optional. Try to evaluate this activity in parallel.</entry>
|
|
|
|
|
|
+ <entry>Optional. Try to evaluate this activity in
|
|
|
|
+ parallel.</entry>
|
|
</row>
|
|
</row>
|
|
|
|
+
|
|
<row>
|
|
<row>
|
|
<entry><emphasis>numthreads</emphasis></entry>
|
|
<entry><emphasis>numthreads</emphasis></entry>
|
|
|
|
|
|
- <entry>Optional. Try to evaluate this activity using <emphasis>numthreads</emphasis> threads.</entry>
|
|
|
|
|
|
+ <entry>Optional. Try to evaluate this activity using
|
|
|
|
+ <emphasis>numthreads</emphasis> threads.</entry>
|
|
</row>
|
|
</row>
|
|
|
|
+
|
|
<row>
|
|
<row>
|
|
<entry><emphasis role="bold">ALGORITHM</emphasis></entry>
|
|
<entry><emphasis role="bold">ALGORITHM</emphasis></entry>
|
|
|
|
|
|
- <entry>Optional. Override the algorithm used for this activity.</entry>
|
|
|
|
|
|
+ <entry>Optional. Override the algorithm used for this
|
|
|
|
+ activity.</entry>
|
|
</row>
|
|
</row>
|
|
|
|
+
|
|
<row>
|
|
<row>
|
|
<entry><emphasis>name</emphasis></entry>
|
|
<entry><emphasis>name</emphasis></entry>
|
|
|
|
|
|
- <entry>The algorithm to use for this activity. Must be from the list of supported algorithms for the SORT function's STABLE and UNSTABLE options.</entry>
|
|
|
|
|
|
+ <entry>The algorithm to use for this activity. Must be from the
|
|
|
|
+ list of supported algorithms for the SORT function's STABLE and
|
|
|
|
+ UNSTABLE options.</entry>
|
|
</row>
|
|
</row>
|
|
|
|
|
|
<row>
|
|
<row>
|
|
@@ -127,9 +151,7 @@
|
|
|
|
|
|
<para>The <emphasis>recordset</emphasis> must be sorted by the same elements
|
|
<para>The <emphasis>recordset</emphasis> must be sorted by the same elements
|
|
as the <emphasis>breakcriteria</emphasis> if the ALL option is not
|
|
as the <emphasis>breakcriteria</emphasis> if the ALL option is not
|
|
- specified. The maximum size allowed for any one subgroup is 64 Mb and
|
|
|
|
- subgroups never span nodes; if the <emphasis>breakcriteria</emphasis>
|
|
|
|
- results in a subgroup larger than 64 Mb, an error occurs.</para>
|
|
|
|
|
|
+ specified. </para>
|
|
|
|
|
|
<para>The <emphasis>recordset</emphasis> gets ‘ungrouped’ by use in a TABLE
|
|
<para>The <emphasis>recordset</emphasis> gets ‘ungrouped’ by use in a TABLE
|
|
function, by the JOIN function in some circumstances (see JOIN), by UNGROUP,
|
|
function, by the JOIN function in some circumstances (see JOIN), by UNGROUP,
|
|
@@ -152,5 +174,7 @@ UnGroupedSet := GROUP(GroupedSet); //ungroup the dataset
|
|
MyTable := TABLE(SecondSort,MyRec); //create table of sorted names
|
|
MyTable := TABLE(SecondSort,MyRec); //create table of sorted names
|
|
</programlisting>
|
|
</programlisting>
|
|
|
|
|
|
- <para>See Also: <link linkend="REGROUP">REGROUP</link>, <link linkend="COMBINE">COMBINE</link>, <link linkend="UNGROUP">UNGROUP</link>, <link linkend="EXCEPT">EXCEPT</link></para>
|
|
|
|
|
|
+ <para>See Also: <link linkend="REGROUP">REGROUP</link>, <link
|
|
|
|
+ linkend="COMBINE">COMBINE</link>, <link linkend="UNGROUP">UNGROUP</link>,
|
|
|
|
+ <link linkend="EXCEPT">EXCEPT</link></para>
|
|
</sect1>
|
|
</sect1>
|