We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c6d666 commit f783f7aCopy full SHA for f783f7a
GDBMS_ALGO/community/label_prop.gsql
@@ -8,7 +8,7 @@ CREATE TEMPLATE QUERY GDBMS_ALGO.community.label_prop(
8
BOOL print_results = TRUE,
9
STRING result_attribute = "",
10
STRING file_path=""
11
-) FOR GRAPH MyGraph SYNTAX V1 {
+) SYNTAX V1 {
12
13
/*
14
First Author: xuanlei.lin@tigergraph.com
@@ -171,7 +171,8 @@ CREATE TEMPLATE QUERY GDBMS_ALGO.community.label_prop(
171
END,
172
IF file_path != "" THEN
173
IF v_type_set.size() == 1 THEN
174
- f.println(s.id, s.@community_id)
+ 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)
0 commit comments