Examples - Advanced SQL Engine - Teradata Database

DATASET Data Type

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
des1556232910526.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1198
lifecycle
previous
Product Category
Teradata Vantageā„¢

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