Using the same input as Example 3, this example shows how to limit the vertices and edges used. Teradata recommends this technique if the original vertices and edges tables are large, but only a subset of the information is relevant. The function calculates the hubs and authorities for the nodes specified in the sources and targets tables (user_source_nodes and product_target_nodes).
pSALSA Example 4 Input Table user_source_nodes
nodeid |
username |
1 |
Sandra |
2 |
Susan |
pSALSA Example 4 Input Table product_target_nodes
nodeid |
product |
8 |
jackets |
11 |
pajamas |