nPath Function Syntax | Teradata Vantage - nPath Syntax - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
9.02
9.01
2.0
1.3
Published
February 2022
Language
English (United States)
Last Update
2022-02-10
dita:mapPath
rnn1580259159235.ditamap
dita:ditavalPath
ybt1582220416951.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.