Skip to content

Graphrule Aggfunc multiple aggregations #3826

Answered by ngjaying
Zap123 asked this question in Q&A
Discussion options

You must be logged in to vote

@Zap123 Initially, the Graph API was based on SQL concepts. However, we intentionally moved away from this design in later versions because it was counterintuitive for users. To address this, we made each operator compatible with both scalar values and collections so that users can actually connect any nodes.

This change means that when an aggregation function runs, the new aggregated value is simply appended to the existing data. Because the original collection information is preserved, you can perform another aggregation in a subsequent node.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Zap123
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants