Enable user to distribute dataset and perform sampling on this distributed dataset