nPath Syntax - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
8.00
1.0
Published
May 2019
Language
English (United States)
Last Update
2019-11-22
dita:mapPath
blj1506016597986.ditamap
dita:ditavalPath
blj1506016597986.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantage™

Version 1.1

This function requires "@coprocessor".
SELECT * FROM nPath@coprocessor (
  ON { table | view | (query) } PARTITION BY partition_column ORDER BY order_column [ ASC | DESC ][...]
  [ ON { table | view | (query) } 
    [ PARTITION BY partition_column | DIMENSION ] ORDER BY order_column [ ASC | DESC ] 
  ][...]
  USING 
  Mode ({ OVERLAPPING | NONOVERLAPPING })
  Pattern ('pattern')
  Symbols ({ col_expr = symbol_predicate AS symbol } [,...])
  [ Filter (filter_expression [,...]) ]
  Result ({ aggregate_function (col_expr OF symbol) AS alias_1 }[,...])
) AS alias_2;
The nPath function is not tied to any schema and must not be qualified with a schema name.