AllPairsShortestPath Output - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
8.10
1.1
Published
October 2019
Language
English (United States)
Last Update
2019-12-31
dita:mapPath
ima1540829771750.ditamap
dita:ditavalPath
jsj1481748799576.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantageā„¢

For source and target vertices connected by a path of less than max_distance, the function outputs their corresponding source and target vertex keys and the distance of the shortest path between them. The function does not output cycle information.

Output Table Schema

Column Data Type Description
source INTEGER or VARCHAR Source vertex key.
target INTEGER or VARCHAR Target vertex key.
distance INTEGER Distance of shortest path between the source and target vertices.