GTree Function Syntax | Teradata Vantage - GTree 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.9

SELECT * FROM GTree (
  ON vertices_table AS Vertices PARTITION BY vertex_key_column [,...] 
  ON edges_table AS Edges PARTITION BY source_vertex_key_column [,...] 
  ON { table | view | (query) } AS Root PARTITION BY root_key_column
  USING
  TargetKey ({ 'edges_column' | edges_column_range }[,...])
  [ AllowCycles ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
  [ MaxDepth (max_depth) ]
  [ OutputType ({ 'all' | 'end' }) ]
  { Results ('func(expr) [ AS alias]' [,...]) ] | EdgeResults ('func(expr) [ AS alias]' [,...])) }
  [ FinalEdgeFlag ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'})]
) AS alias;