File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ CREATE TEMPLATE QUERY GDBMS_ALGO.community.label_prop(
15
15
First Commit Date: 2024-07-15
16
16
17
17
Recent Author: xuanlei.lin@tigergraph.com
18
- Recent Commit Date: 2024-07-15
18
+ Recent Commit Date: 2024-07-16
19
19
20
20
Repository:
21
21
https://github.com/tigergraph/gsql-graph-algorithms/tree/master/algorithms/Community
@@ -170,7 +170,12 @@ CREATE TEMPLATE QUERY GDBMS_ALGO.community.label_prop(
170
170
@@comm_sizes_map += (s.@community_id -> 1)
171
171
END,
172
172
IF file_path != "" THEN
173
- f.println(s.id, s.@community_id)
173
+ IF v_type_set.size() == 1 THEN
174
+ f.println(s.id, s.@community_id)
175
+ ELSE
176
+ VERTEX node = s.@community_id,
177
+ f.println(s.type, s, node.type, node)
178
+ END
174
179
END
175
180
LIMIT print_limit;
176
181
You can’t perform that action at this time.
0 commit comments