Retain Function | Vantage Analytics Library - Retain - Vantage Analytics Library

Vantage Analytics Library User Guide

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Lake
Product
Vantage Analytics Library
Release Number
2.2.0
Published
June 2025
ft:locale
en-US
ft:lastEdition
2025-07-02
dita:mapPath
ibw1595473364329.ditamap
dita:ditavalPath
iup1603985291876.ditaval
dita:id
zyl1473786378775
Product Category
Teradata Vantage

Use the Retain transformation to copy one or more input table columns to the output table, optionally giving them new names and types in the output table.

The function automatically retains the primary index columns of the input table. You do not have to specify them. However, if the primary key columns are not the primary index columns, you must provide the primary key columns to the output table to uniquely identify each output row, by retaining them or another means.

You can apply the Retain transformation to columns of any data type.