Examples | Rescale Function | Vantage Analytics Library - Examples - 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

No NULL Value Replacement

call td_analyze (
  'vartran',
  'database = val_source;
   tablename = customer;
   rescale =
     {rescalebounds (lowerbound/0, upperbound/1), columns (income/inc, age)}
     {rescalebounds (upperbound/1), columns (income/income1, age/age1)}
     {rescalebounds (lowerbound/0), columns (income/income2, age/age2)};'
);

NULL Value Replacement

keycolumns is required.

call td_analyze (
  'vartran',
  'database = val_source;
   tablename = customer;
   keycolumns = cust_id;
   rescale = rescalebounds (lowerbound/0, upperbound/1), nullstyle (literal, 0), columns (age, income);'
);