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 clickstream
    PARTITION BY userid
    ORDER BY userid, sessionid, clicktime
  MODE (OVERLAPPING)
  PATTERN ('A.B')
  SYMBOLS (true AS A, true AS B)
  RESULT (FIRST (sessionid OF A) AS sessionid,
          FIRST (pagetype OF A) AS pageid,
          FIRST (pagetype OF B) AS next_pageid)
) ORDER BY sessionid;