Optional Syntax Elements for TD_SimpleImputeFit - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905
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.