Skip to content

Commit f783f7a

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

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

GDBMS_ALGO/community/label_prop.gsql

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ CREATE TEMPLATE QUERY GDBMS_ALGO.community.label_prop(
88
BOOL print_results = TRUE,
99
STRING result_attribute = "",
1010
STRING file_path=""
11-
) FOR GRAPH MyGraph SYNTAX V1 {
11+
) SYNTAX V1 {
1212

1313
/*
1414
First Author: [email protected]
@@ -171,7 +171,8 @@ CREATE TEMPLATE QUERY GDBMS_ALGO.community.label_prop(
171171
END,
172172
IF file_path != "" THEN
173173
IF v_type_set.size() == 1 THEN
174-
f.println(s.id, s.@community_id)
174+
VERTEX node = s.@community_id,
175+
f.println(s, node)
175176
ELSE
176177
VERTEX node = s.@community_id,
177178
f.println(s.type, s, node.type, node)

0 commit comments

Comments
 (0)