Input - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Published
September 2017
Language
English (United States)
Last Update
2018-04-17
dita:mapPath
uce1497542673292.ditamap
dita:ditavalPath
AA-notempfilter_pdf_output.ditaval
dita:id
B700-1022
lifecycle
previous
Product Category
Software

Both examples use the same input table, which is generated from the output of the StringSimilarity function from the following SQL query.

DROP TABLE IF EXISTS fspredict_input;

CREATE FACT TABLE fspredict_input (PARTITION KEY (id)) AS
SELECT * FROM StringSimilarity (
  ON strsimilarity_input PARTITION BY ANY
  ComparisonColumnPairs (
                  'jaro (src_text2 , tar_text ) AS jaro1_sim',
                  'LD (src_text2 , tar_text, 2) AS ld1_sim',
                  'n_gram (src_text2 , tar_text, 2) AS ngram1_sim',
                  'jaro_winkler (src_text2 , tar_text, 2) AS jw1_sim'
  )
  CaseSensitive ('true')
  Accumulate ('id','src_text2','tar_text')
);

SELECT * FROM fspredict_input ORDER BY 1;