Whole-dataset Analyses Using Apache Spark