code: func SelectWithRuntimeStats(ctx context.Context, sctx sessionctx.Context, kvReq *kv.Request,
  	fieldTypes []*types.FieldType, fb *statistics.QueryFeedback, copPlanIDs []fmt.Stringer) (SelectResult, error) {
  	sr, err := Select(ctx, sctx, kvReq, fieldTypes, fb)
  	if err != nil {
  		return sr, err
  	}
  	if selectResult, ok := sr.(*selectResult); ok {
  		selectResult.copPlanIDs = copPlanIDs
  	}
  	return sr, err
  }
docs: // SelectWithRuntimeStats sends a DAG request, returns SelectResult.
  // The difference from Select is that SelectWithRuntimeStats will set copPlanIDs into selectResult,
  // which can help selectResult to collect runtime stats.