Debugging Outside the Database | Java UDFs | Teradata Vantage - Debugging Outside the Database - Analytics Database - Teradata Vantage

SQL External Routine Programming

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-07-11
dita:mapPath
iiv1628111441820.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
B035-1147
lifecycle
latest
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