Skip to content

Commit 884833d

Browse files
committed
[ALGOS-266] feat(algos): Fix bugs for template query;
1 parent f783f7a commit 884833d

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

GDBMS_ALGO/community/label_prop.gsql

+2-7
Original file line numberDiff line numberDiff line change
@@ -170,13 +170,8 @@ CREATE TEMPLATE QUERY GDBMS_ALGO.community.label_prop(
170170
@@comm_sizes_map += (s.@community_id -> 1)
171171
END,
172172
IF file_path != "" THEN
173-
IF v_type_set.size() == 1 THEN
174-
VERTEX node = s.@community_id,
175-
f.println(s, node)
176-
ELSE
177-
VERTEX node = s.@community_id,
178-
f.println(s.type, s, node.type, node)
179-
END
173+
VERTEX node = s.@community_id,
174+
f.println(s.type, s, node.type, node)
180175
END
181176
LIMIT print_limit;
182177

0 commit comments

Comments
 (0)