16.20 - tdr.ampinfo - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
April 2020
Content Type
Programming Reference
Publication ID
B035-1147-162K
Language
English (United States)

Purpose

Returns information related to the AMP and node where the table operator is running.

Syntax

tdr.ampinfo()

Return Value

A list with the following information:
  • Node ID
  • AMP ID
  • Lowest AMP ID in the node