17.10 - Examples - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - DATASET Data Type

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1198-171K
Language
English (United States)

Example: Retrieving the Raw Data of a DATASET Data Type Instance (AVRO)

getRawDataLob
SELECT avroFile.getRawDataLob() FROM myAVROTable06;
> 6E0E62696379636C650672656408626F797302
  00000000000059400000000000005940

Example: Retrieving the Raw Data of a DATASET Data Type Instance (CSV)

SELECT csvFile.getRawDataLob() FROM myCSVTable06;
> 55&bicycle&89.99