Text Field Analysis | Vantage Analytics Library - Text Field Analysis - 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

Text Field analysis examines character data and determines if the data can be stored in the database as a numeric type, a date, a time, a timestamp, or character data.

You can apply Text Field analysis to columns of any data type. If the columns contain noncharacter data, Text Field analysis only copies them from the input table to the output table.

Given an input table name and one or more column names, the Vantage Analytics Library textfieldanalyzer function follows this procedure for each column:
  1. Retrieves the minimum and maximum values of the column and tests the values to determine their data type.
  2. Retrieves a small sample of values and tests the values to determine their data type.
  3. Tries to further classify columns classified as numeric.

    For example, if extendednumericanalysis=true, a field that the first two tests classified as FLOAT might be a DECIMAL type with two decimal places.

  4. Checks that all values in columns classified as date types are valid dates.
  5. If extendedunicodeanalysis=true, tests Unicode columns to see if the columns contain only Latin characters.