code: func (af *avgFunction) GetPartialResult(evalCtx *AggEvaluateContext) []types.Datum {
  	return []types.Datum{types.NewIntDatum(evalCtx.Count), evalCtx.Value}
  }
docs: // GetPartialResult implements Aggregation interface.