AllPairsShortestPath Output - 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ā„¢

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.