FrequentPaths Function Syntax | Teradata Vantage - FrequentPaths 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 2.7

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])