Debugging Outside the Database | Java UDFs | Teradata Vantage - Debugging Outside the Database - Advanced SQL Engine - Teradata Database

SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
rin1593638965306.ditamap
dita:ditavalPath
rin1593638965306.ditaval
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata Vantageā„¢

The best practice is to develop and test the method outside the database. You can use your own debugging tools to verify functionality.

Be sure your tests include the following:
  • Limit checks on the input values
  • Limit checks on the return value (for scalar and aggregate UDFs) or on the output argument values (for table UDFs)
  • Proper handling of NULLs
  • Exception handling