Skip to content

Commit

Permalink
Add parser.GROUP
Browse files Browse the repository at this point in the history
  • Loading branch information
arramos84 authored and jacksontj committed Aug 19, 2023
1 parent 57d8ce4 commit d8ca7f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/proxystorage/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ func (p *ProxyStorage) NodeReplacer(ctx context.Context, s *parser.EvalStmt, nod
// Not all Aggregation functions are composable, so we'll do what we can
switch n.Op {
// All "reentrant" cases (meaning they can be done repeatedly and the outcome doesn't change)
case parser.SUM, parser.MIN, parser.MAX, parser.TOPK, parser.BOTTOMK:
case parser.SUM, parser.MIN, parser.MAX, parser.TOPK, parser.BOTTOMK, parser.GROUP:
removeOffsetFn()

if s.Interval > 0 {
Expand Down

0 comments on commit d8ca7f7

Please sign in to comment.