17.10 - disableCoGroup - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1147-171K
Language
English (United States)

Disables the cogroup functionality for table operators that handle multiple input streams.

If cogroup is disabled, table operators that handle multiple input streams may return different results on systems with different configurations where the number of AMPs differ. To get consistent results on different configurations, cogroup must be enabled.

Syntax

public void  disableCoGroup()

Example

public int contract(RuntimeContract contract, ResultSet rsin[], ResultSet rsout[])
throws SQLException

{
   DbsInfo.traceWrite("MITblOpContract");
   contract.disableCoGroup();
      ...
}