ApproximateQueryProcessing based on Spark