7.00.02 - SQL-MapReduce Call - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Published
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)
Last Update
2018-04-17
SELECT * FROM TextTagging (
  ON text_inputs
  Rules ('contain(content, "floods", 1,) or
          contain(content, "tsunamis", 1,) AS Natural-Disaster',
         'contain(content, "Roger", 1,) and
          contain(content, "Nadal", 1,) AS Tennis-Rivalry',
         'contain(title, "Tennis", 1,) and
          contain(content, "Roger", 1,) AS Tennis-Greats',
         'contain(content, "India", 1,) and
          contain(content, "Pakistan", 1,) AS Cricket-Rivalry',
         'contain(content,"Australia",1,) and
          contain(content, "England", 1,) AS The-Ashes'
  )
  OutputByTag ('true')
  Accumulate ('id')
) ORDER BY id;