Finds the primary AMP corresponding to the hash bucket number specified in the expression and returns the AMP ID. If no hash bucket number is specified, HASHAMP returns one less than the maximum number of AMPs in the system.
ANSI Compliance
This statement is a Teradata extension to the ANSI SQL:2011 standard.