SQL-MapReduce Call - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Published
September 2017
Language
English (United States)
Last Update
2018-04-17
dita:mapPath
uce1497542673292.ditamap
dita:ditavalPath
AA-notempfilter_pdf_output.ditaval
dita:id
B700-1022
lifecycle
previous
Product Category
Software

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;