16.20 - Considerations - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Advanced SQL Engine
Teradata Database
Release Number
Release Date
April 2020
Content Type
Programming Reference
Publication ID
English (United States)

When developing a window aggregate function, be aware of the following:

  • When specifying the return type of the function, you should consider the allowable window sizes and select an appropriate return data type to avoid overflows.
  • Teradata Database does not validate if a window aggregate UDF is used in a specific window type, so you may want to include window type checking code into your function.