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)

This example uses the arguments MaxHubNum and MaxAuthorityNum to output a maximum of two hub and two authority users.

SELECT * FROM pSALSA(
  ON users_vertex AS vertices PARTITION BY username
  ON users_edges AS edges PARTITION BY followers
  SourceKey ('followers ')
  TargetKey ('leaders ')
  MaxHubNum ('2')
  MaxAuthorityNum ('2')
  TeleportProb ('0.15')
  RandomWalkLength ('1000')
) ORDER BY followers;