16.20 - EXECUTE MAP - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Content Type
Programming Reference
Publication ID
B035-1144-162K
Language
English (United States)
Last Update
2019-05-24

Specify a contiguous or sparse map and, optionally, colocation name for table operator execution. The table operator executes only on the AMPs in the map.

You can override this map by specifying the EXECUTE MAP clause in the FROM clause of the SELECT statement that executes the table operator. See Teradata Vantage™ SQL Data Manipulation Language , B035-1146 .

You must have been granted the specified map.

map_name
Name of contiguous or sparse map.
You cannot specify TD_DataDictonaryMap or TD_GlobalMap.
COLOCATE USING colocation_name
Name for colocating the function on the same AMPs with other functions, tables, join indexes, or hash indexes.
You can only specify this option for a sparse map. For a contiguous map, the colocation_name is set to NULL.
If you do not specify a colocation name, the name defaults to database_function, where database is the name of the database or user followed by an underscore (_) and function is the name of the user defined function. If database exceeds 63 characters, database is truncated to 63 characters. If function exceeds 64 characters, function is truncated to 64 characters.