add a UDF pair for simple random sampling with replacement (SRSWR)