17.05 - Examples - Teradata Database

Teradata Vantageā„¢ - DATASET Data Type

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
17.05
created_date
June 2020
category
Programming Reference
featnum
B035-1198-170K

Example: Retrieving the Raw Data of a DATASET Data Type Instance with the Avro Storage Format

SELECT cast(avroFile.getRawData() as varbyte(5000))
    FROM myAVROTable06;
> 6E0E62696379636C650672656408626F797302
  00000000000059400000000000005940

Example: Retrieving the Raw Data of a DATASET Data Type Instance with the CSV Storage Format

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