Examples - Teradata Vantage NewSQL Engine - 16.20

Teradata Vantageā„¢ DATASET Data Type

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1198-162K

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