AvroProject Method | DATASET Data Type | Teradata Vantage - 17.05 - AvroProject - 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

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 )