DOYUNG YOON created S2GRAPH-48:
----------------------------------
Summary: Support for nested groupBy and limit on grouped result.
Key: S2GRAPH-48
URL: https://issues.apache.org/jira/browse/S2GRAPH-48
Project: S2Graph
Issue Type: Improvement
Reporter: DOYUNG YOON
Assignee: DOYUNG YOON
Priority: Minor
Currently query only support single level groupBy on query.
for example, "groupBy": ["a", "b"] will use two fields on each edge to group by
one time.
user may want to group by collection of edges first by "a", then groupBy
grouped collection by "b" secondly.
I am not sure how many level we should support but I think it would be better
to provide 2 or 3 level groupBy on result.
Also currently, user can`t limit their grouped edges size so I am suggesting
following.
{noformat}
before "groupBy": ["a", "b"]
after "groupBy": [ {"key": ["a", "b], "limit": 10}, {"key": ["c"], "limit": 2} ]
{noformat}
Firstly I want to ask if this support on query is even necessary. Any feedback
is welcomed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)