Skip to content

Commit

Permalink
Remove Next function totally
Browse files Browse the repository at this point in the history
  • Loading branch information
lwhile authored and 卢炜豪 WeiHao Lu committed Mar 22, 2018
1 parent 0572b00 commit 273e2f2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions executor/aggregate.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,6 @@ func (e *HashAggExec) execute(ctx context.Context) (err error) {
}
}

// Next implements the Executor Next interface.
func (e *HashAggExec) Next(ctx context.Context) (Row, error) {
return nil, nil
}

func (e *HashAggExec) getGroupKey(row types.Row) ([]byte, error) {
vals := make([]types.Datum, 0, len(e.GroupByItems))
for _, item := range e.GroupByItems {
Expand Down

0 comments on commit 273e2f2

Please sign in to comment.