You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@age.apache.org by "jrgemignani (via GitHub)" <gi...@apache.org> on 2023/03/06 18:49:26 UTC
[GitHub] [age] jrgemignani commented on issue #730: How to apply arithmetic operations on a property of variable length edge
jrgemignani commented on issue #730:
URL: https://github.com/apache/age/issues/730#issuecomment-1456758028
@Zainab-Saad @mohayu22 The sum() aggregate function only works against a column. So, it really will only sum a column of data. However, the data being returned and wanted summed is a row element that is an array of edges.
Baring an existing cypher of PG function, which, off the top of my head I can't think of any, you would need to write your own function to apply against that array to return the sum.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@age.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org