You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GO 2 STEPS FROM "player100" OVER follow YIELD src(edge) AS src, dst(edge) AS dst, properties($).age AS age \| GROUP BY $-.dst YIELD $-.dst AS dst, collect_set($-.src) AS src, collect($-.age) AS age
This doesn't produce outputs according to age. The reason is that the age belongs to the destination node. The right one may like the following
GO 1 STEPS FROM "player101" OVER follow YIELD src(edge) AS src, dst(edge) AS dst, properties($$).age AS age | GROUP BY $-.age YIELD $-.age AS age, collect_set($-.src) AS src, collect_set($-.dst) AS dst
The text was updated successfully, but these errors were encountered:
Thank you for your feedback, but there are two syntactical errors existing in the first statement.
GO 2 STEPS FROM "player100" OVER follow YIELD src(edge) AS src, dst(edge) AS dst, properties($).age AS age \| GROUP BY $-.dst YIELD $-.dst AS dst, collect_set($-.src) AS src, collect($-.age) AS age
- \+ properties($$)
The correct one should be GO 2 STEPS FROM "player100" OVER follow YIELD src(edge) AS src, dst(edge) AS dst, properties($$).age AS age | GROUP BY $-.dst YIELD $-.dst AS dst, collect_set($-.src) AS src, collect($-.age) AS age
This doesn't produce outputs according to age. The reason is that the age belongs to the destination node. The right one may like the following
The text was updated successfully, but these errors were encountered: