code: func RowToDatums(row chunk.Row, fields []*ast.ResultField) []types.Datum {
  	datums := make([]types.Datum, len(fields))
  	for i, f := range fields {
  		datums[i] = row.GetDatum(i, &f.Column.FieldType)
  	}
  	return datums
  }
docs: // RowToDatums converts row to datum slice.