7.00.02 - SQL-MapReduce Call - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Release Date
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)
CREATE fact TABLE tfidf_output1 DISTRIBUTE BY HASH(term) AS
  SELECT * FROM tf_idf (
    ON TF (
      ON tfidf_input1 PARTITION BY docid
    ) AS tf PARTITION BY term
    ON (SELECT COUNT (DISTINCT docid) FROM tfidf_input1
    ) AS doccount DIMENSION
  );