Skip to content

Commit

Permalink
Update logicalplan/distribute_avg.go
Browse files Browse the repository at this point in the history
Co-authored-by: Giedrius Statkevičius <[email protected]>
Signed-off-by: Filip Petkovski <[email protected]>
  • Loading branch information
fpetkovski and GiedriusS authored Nov 23, 2023
1 parent 686b0d2 commit e21d76e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logicalplan/distribute_avg.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func (r DistributeAvgOptimizer) Optimize(plan parser.Expr, _ *query.Options) par
return true
}

// If the current node is an aggregation, distribute the operation and
// If the current node is avg(), distribute the operation and
// stop the traversal.
if aggr, ok := (*current).(*parser.AggregateExpr); ok {
if aggr.Op != parser.AVG {
Expand Down

0 comments on commit e21d76e

Please sign in to comment.