16.20 - Considerations - 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)

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.