code: func (mmf *maxMinFunction) GetStreamResult() (d types.Datum) {
  	if mmf.streamCtx == nil {
  		return
  	}
  	d = mmf.streamCtx.Value
  	mmf.streamCtx = nil
  	return
  }
docs: // GetStreamResult implements AggregationFunction interface.