Github user jingyimei commented on a diff in the pull request:
https://github.com/apache/madlib/pull/244#discussion_r177894976
--- Diff: src/ports/postgres/modules/graph/pagerank.py_in ---
@@ -211,19 +261,30 @@ def pagerank(schema_madlib, vertex_table, vertex_id,
edge_table, edge_args,
distinct_grp_table, grouping_cols_list)
# Find number of vertices in each group, this is the
normalizing factor
# for computing the random_prob
+ where_clause_ppr = ''
+ if nodes_of_interest > 0:
--- End diff --
`if nodes_of_interest:` or `if total_ppr_nodes > 0:`
---