UDF Search Path | SQL Engine 17.00 | Teradata Vantage - UDF Search Path - Analytics Database - Teradata Vantage

Teradata Vantageā„¢ - Analytics Database Release Summary - 17.20 What's New

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
2024-01-30
dita:mapPath
jva1628096041737.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
weq1472245453190
Product Category
Teradata Vantage

The new SET SESSION UDFSearchPath statement lets you set a custom path for Teradata Vantage to use when searching for invoked UDFs.

Benefits

  • Allows you to specify where Vantage should look first for UDFs. This ensures that the UDF you want will be executed in cases where there might be more than one UDF in the system with the same name.
  • The UDF search path you set is applied to all forms of UDFs, including user-defined functions, user-defined types, and embedded services system functions.

Considerations

  • Best practice is to use the fully qualified UDF path and name when invoking a UDF, but if you cannot or might not, you should use the new SET SESSION UDFSearchPath statement to control the location order that Vantage uses to search for the UDF.

SQL Changes

  • New SET SESSION UDFSearchPath statement

Additional Information

For more information about how Teradata Vantage searches for UDFs , see "UDF Locations" in Teradata Vantageā„¢ - SQL External Routine Programming, B035-1147.