7.00.02 - SQL-MapReduce Call - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Release Date
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)
SELECT * FROM AllPairsShortestPath (
  ON callers AS vertices PARTITION BY callerid
  ON calls AS edges PARTITION BY callerfrom
  ON (SELECT callerid FROM callers
    WHERE callerid IN (1, 2)) AS sources PARTITION BY callerid 
  TargetKey ('callerto')
  MaxDistance ('8')
  EdgeWeight ('calls')
) ORDER BY source, target;