1.1 - 8.10 - AllPairsShortestPath Output - Teradata Vantage

Teradata Vantage™ - Machine Learning Engine Analytic Function Reference

Teradata Vantage
Release Number
Release Date
October 2019
Content Type
Programming Reference
Publication ID
English (United States)

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.