code: func (a *AggFuncDesc) Equal(ctx sessionctx.Context, other *AggFuncDesc) bool {
  	if a.HasDistinct != other.HasDistinct {
  		return false
  	}
  	return a.baseFuncDesc.equal(ctx, &other.baseFuncDesc)
  }
docs: // Equal checks whether two aggregation function signatures are equal.