Optional Syntax Elements for TD_SimpleImputeFit - Analytics Database

Database Analytic Functions

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-04-06
dita:mapPath
gjn1627595495337.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
jmh1512506877710
Product Category
Teradata Vantageā„¢
OUT clause
Accept the OutputTable clause.
ColsForLiterals
Specify the names of the InputTable columns that have missing values to replace with specified literal values.
Literals
Specify the literal values to substitute for missing values in the columns specified by ColsForLiterals. A literal must not exceed 128 characters.
The function maps each literal to the column in the same position in ColsForLiterals. For example, ColsForLiterals ('[1:5]', '-[2:4]', '[3]') specifies the column with index 3 last, so the function maps the last specified literal to it.
ColsForStats
Specify the names of the InputTable columns that have missing values to replace with specified statistics.
Stats
Specify the statistics to substitute for missing values in the columns specified by ColsForStats.
For numeric columns, the value of the Stats argument must be one of the following values:
  • MIN
  • MAX
  • MEAN
  • MEDIAN
For columns with the following data types, the value of the Stats argument can be MODE:
  • CHARACTER
  • VARCHAR
  • BYTEINT
  • SMALLINT
  • INTEGER
CHARACTER and VARCHAR values must not exceed 128 characters.
The output of MODE is the value that appeared in the last according to the alphabetical order.
The function maps the value of each Stats argument to the column in the same position in ColsForStats. For example, ColsForStats ('[1:5]', '-[2:4]', '[3]') specifies the column with index 3 last, so the function maps the last specified Stats argument to it.
PartitionColumn
Specify the name of the InputTable column to partition the input.
Default behavior: The function treats all rows as a single partition.