Skip to content

Commit

Permalink
[ALGOS-266] feat(algos): Fix bugs for template query;
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanleilin committed Jul 22, 2024
1 parent f783f7a commit 884833d
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions GDBMS_ALGO/community/label_prop.gsql
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,8 @@ CREATE TEMPLATE QUERY GDBMS_ALGO.community.label_prop(
@@comm_sizes_map += (s.@community_id -> 1)
END,
IF file_path != "" THEN
IF v_type_set.size() == 1 THEN
VERTEX node = s.@community_id,
f.println(s, node)
ELSE
VERTEX node = s.@community_id,
f.println(s.type, s, node.type, node)
END
VERTEX node = s.@community_id,
f.println(s.type, s, node.type, node)
END
LIMIT print_limit;

Expand Down

0 comments on commit 884833d

Please sign in to comment.