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)
SELECT * FROM TextTagging (
  ON text_inputs
    Rules ('superdist(content, "Chennai", "floods", sent, ,)
            AS Chennai-Flood-Disaster',
           'superdist(content, "Roger", "titles", para, "Nadal", para)
            AS Roger-Champion',
           'superdist(content, "Roger", "Nadal", para, ,)
            AS Tennis-Rivalry',
           'contain(content, regex"[A|a]shes", 2,)
            AS Aus-Eng-Cricket',
           'superdist(content, "Australia", "won", nw5, ,)
            AS Aus-victory'
    )
  Accumulate ('id')
) ORDER BY id;