Usage Notes - 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ā„¢

This function is used with table operators and differs from FNC_LobOpen in the data type of the first parameter.

Before you call FNC_LobRead to access the value of a large object, you must call FNC_LobOpen_CL to establish a read context.

For best performance of a table operator that is not designed to read an entire object, use the start and maxlength arguments to specify a subset of the object. If the object is on a remote AMP, it saves the cost of moving unneeded data.

Calling FNC_LobOpen_CL increases the number of outstanding read contexts by one. The maximum number of outstanding read contexts is 4.

The locator argument is validated to the extent possible. If the argument is not valid, the request that invoked the table operator fails and returns an error.