FNC_SetDatasetLob Function | C Library Functions | Teradata Vantage - 17.10 - FNC_SetDatasetLob - 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)

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.