17.10 - Benefits of Teradata C/C++ UDF Debugger - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1147-171K
Language
English (United States)

Debugging UDFs poses a particularly challenging problem in the Teradata environment. Due to the massively parallel nature of Teradata, UDFs can run in multiple processes on multiple nodes.

Using a regular debugger (like the standard GDB) requires users to attach to each UDF server process manually, in separate debugging sessions. The Teradata C/C++ UDF Debugger attaches automatically to every UDF server associated with an SQL request and controls those UDFs from a single debugging session. These features provide modern debugging capabilities for UDFs running within the database.