FNC_SetDatasetLob Function | C Library Functions | Teradata Vantage - FNC_SetDatasetLob - Advanced SQL Engine - Teradata Database

SQL External Routine Programming

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
qwr1571437338192.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata Vantage™

Purpose

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  )
DATASET_HANDLE datasetHandle
A handle to a DATASET data type instance that is defined to be an input parameter to an external routine.
LOB_LOCATOR 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.