17.10 - Examples - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - DATASET Data Type

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
amv1590702100517.ditamap
dita:ditavalPath
amv1590702100517.ditaval

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