DATASET Data Type - ODBC Driver for Teradata

ODBC Driver for Teradata User Guide

Product
ODBC Driver for Teradata
Release Number
16.10
Published
May 2017
Language
English (United States)
Last Update
2018-07-11
dita:mapPath
smj1488824663219.ditamap
dita:ditavalPath
Audience_PDF_product_legacy_odbc_include.ditaval
dita:id
B035-2526
lifecycle
previous
Product Category
Teradata Tools and Utilities

The DATASET data type is a new Complex Data Type (CDT) supported by Version 16.0 of the Teradata database that provides a mechanism to store self-describing data. Self-describing data contains both raw data and matching schema. A schema describes how the data is structured. The schemas do not need to be predefined (for example, during table creation time). Schemas can be defined just before inserting the data, or they can be packaged together with the data (as data containers); this data architecture can loosely be called "late binding".

The adopted storage format of a DATASET data type is the Apache Avro format.

DATASET data can be inserted or imported into a DATASET column in the Avro binary format or in CSV format.

The name SQL_TD_DATASET_AVRO is defined in the tdsql.h file.

DATASET data can be retrieved as Avro binary format or converted to JSON format.