1.1 - 8.10 - Closeness 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 1.4

SELECT * FROM Closeness (
  ON vertices_table AS Vertices PARTITION BY vertex_key_column [,...] 
  ON edges_table AS Edges PARTITION BY source_vertex_key_column [,...] 
  [ ON sources_table AS Sources PARTITION BY source_vertex_key_column [,...] ]
  [ ON targets_table AS Targets PARTITION BY target_vertex_key_column [,...] ]
  USING
  TargetKey ('target_key_column' [,...])
  [ Directed ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
  [ EdgeWeight (edge_weight) ]
  [ MaxDistance (max_distance) ]
  [ GroupSize (group_size) ]
  [ SampleRate (sample_rate) ]
  [ Accumulate ({ 'accumulate_column' | accumulate_column_range }[,...]) ]
) AS alias;