AvroProject Method | DATASET Data Type | Teradata Vantage - AvroProject - 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ā„¢

AvroProject allows for reading specified portions of an Avro instance, and not the entire instance.

For example, take an Avro instance record with five fields: ID, First Name, Last Name, Phone Number, and Age.

To see just a few fields, such as First Name and Age, use AvroProject to project the source data into an Avro instance with a different schema composed of those fields.

Syntax

DATASET_STORAGE_FORMAT_AVRO_expression.AvroProject ( schema_expression )