7.00.02 - gTree Syntax - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Release Date
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)
Version 1.0
SELECT * FROM gTree (
  ON { table | view | (query) } AS vertices PARTITION BY key 
  ON { table | view | (query) } AS edges PARTITION BY key 
  ON { table | view | (query) } AS root PARTITION BY key 
  TargetKey ({ 'edges_column' | 'edges_column_range' }[,...])
  [ AllowCycles ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
  [ MaxIterNum ('max_depth') ]
  [ Output ({ 'all' | 'end' }) ]
  { Results ('func(expr) [ AS alias]' [,...]) ] |
    EdgeResults ('func(expr) [ AS alias]' [,...])) }
  [ FinalEdgeFlag ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'})]
);