As a user, I would like to group by "value" instead of just edges. #5412
Labels
area/querylang/groupby
Issues related to the @groupby directive.
Check if resolved
cherry-pick
dgraph
Issue or PR created by an internal Dgraph contributor.
kind/enhancement
Something could be better.
Stale
status/needs-attention
This issue needs more eyes on it, more investigation might be required before accepting/rejecting it
v22.0.0
Issues related to v22.0.0
Experience Report
This issue can be solved by #5335 if we don't wanna do any specific approach for it some how.
What you wanted to do
Run the groupby func in value edges.
https://dgraph.io/docs/query-language/#groupby
What you actually did
See https://discuss.dgraph.io/t/suggestions-to-improve-groupby/4630
Why that wasn't great, with examples
See https://discuss.dgraph.io/t/suggestions-to-improve-groupby/4630
Any external references to support your case
This issue is similar but it is related to LIST TYPE #4170
See this questions https://discuss.dgraph.io/t/how-to-groupby-date/3040
There are other questions which I don't remember the link, but are several.
The text was updated successfully, but these errors were encountered: