File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ CREATE TEMPLATE QUERY GDBMS_ALGO.community.label_prop(
8
8
BOOL print_results = TRUE,
9
9
STRING result_attribute = "",
10
10
STRING file_path=""
11
- ) FOR GRAPH MyGraph SYNTAX V1 {
11
+ ) SYNTAX V1 {
12
12
13
13
/*
14
14
First Author: xuanlei.lin@tigergraph.com
@@ -170,12 +170,8 @@ 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
- 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
173
+ VERTEX node = s.@community_id,
174
+ f.println(s.type, s, node.type, node)
179
175
END
180
176
LIMIT print_limit;
181
177
You can’t perform that action at this time.
0 commit comments