External Procedure and UDF .so Linkage Information - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Detailed Topics

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-24
dita:mapPath
jpx1556733107962.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1184
lifecycle
previous
Product Category
Teradata Vantage™

There is only 1 .so file per database per node per application category, which is shared by all external procedures, UDFs, and table UDFs of a given application category contained by a database.

The application categories are as follows.

  • Standard

    Applies to all UDFs and table UDFs.

    Also applies to external procedures that do not use the CLIv2 or Java APIs to make SQL calls.

  • CLIv2

    Applies to all external procedures that use the CLIv2 API to make SQL calls.

  • Java

    Applies to all external procedures that use the JDBC API to make SQL calls.

The system generates a separate .so file for each non-Java application category. Java UDFs and external procedures do not generate .so files because their source code is contained within their associated JAR files.

Whenever you create, replace, or drop an external procedure, the .so file for that database has to be relinked with all the other external procedure object files and then redistributed to all the nodes.