SQL-MapReduce Call - 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
SELECT * FROM npath (
  ON aggregate_clicks
  PARTITION BY sessionid
  ORDER BY clicktime
  MODE (nonoverlapping)
  PATTERN ('A*.C+.A*')
  SYMBOLS (productprice > 200 AND
          pagetype='checkout' AS C, true AS A)
  RESULT (FIRST(sessionid OF A) AS sessionid,
  ACCUMULATE (pagetype OF ANY(A,C)) AS path,
  AVG (productprice OF ANY(A,C)) AS sum)
) ORDER BY sessionid;