Spark SQL basicOperator add distinct operator

Return a new SparkPlan containing the distinct elements .