FNC_SetDatasetLob Function | C Library Functions | Teradata Vantage - FNC_SetDatasetLob - 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 allows a user to pass a LOB_LOCATOR to a DATASET data type instance. The LOB_LOCATOR references a UTF-8 encoded schema, null-terminated, followed by the binary-encoded Avro value.

Syntax

void
FNC_SetDatasetLob( DATASET_HANDLE   datasetHandle,
                   LOB_LOCATOR	     instance  )

Syntax Elements

datasetHandle
A handle to a DATASET data type instance that is defined to be an input parameter to an external routine.
instance
A LOB_LOCATOR which references the schema and data that will be used by a DATASET instance.

Usage Notes

This function allows a user to pass a LOB_LOCATOR to a DATASET data type instance. The LOB_LOCATOR references a UTF-8 encoded schema, null-terminated, followed by the binary-encoded Avro value. The instance uses this data to set its schema and binary-encoded Avro value. Note that any invalid data provided results in an error.