1.1 - 8.10 - FrequentPaths Syntax - Teradata Vantage

Teradata Vantage™ - Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
1.1
8.10
Release Date
October 2019
Content Type
Programming Reference
Publication ID
B700-4003-079K
Language
English (United States)

Version 2.6

SELECT * FROM FrequentPaths (
  ON { table | view | (query) } AS InputTable
  ON { table | view | (query) } AS ItemDefinitionTable
  OUT TABLE OutputTable (output_table)
  [ OUT TABLE SeqPatternTable (sequence_pattern_table) ]
  USING
  PartitionColumns ( { 'partition_column' | partition_column_range }[,...])
  [ TimeColumn ('time_column') ]
  [ PathFilters ([Separator (symbol),] 'filter' [,...]) ]
  [ GroupByColumns ({ 'group_column' | group_column_range}[,...]) ]
  { ItemColumn ('sequence_column') |
    PathColumn ('path_column') |
    ItemDefinitionColumns ('[index_column:definition_column:item_column]')
  }
  MinSupport (minimum)
  [ MaxLength (maximum_length) ]
  [ MinLength (minimum_length) ]
  [ ClosedPattern ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'})]
) AS alias;

For the ItemDefinitionColumns syntax element, the brackets inside the parentheses are required. For example:

ItemDefinitionColumns ([id:def:item])