Moved from GitHub dgraph/5412
Posted by MichelDiz:
This issue can be solved by #5335 if we don’t wanna do any specific approach for it some how.
We wanna see if this topic is popular or not. Please, share your use cases and “vote” this.
What you wanted to do
Run the groupby func in value edges.
What you actually did
Why that wasn’t great, with examples
Any external references to support your case
This issue is similar but it is related to LIST TYPE Groupby does not support predicate of list type · Issue #4170 · dgraph-io/dgraph · GitHub
See this questions How to groupby date
There are other questions which I don’t remember the link, but are several.