Spark SQL basicOperator add distinct operator

Hi all,
I want to add a new API in Spark SQL basicOperator.scala This operator will return a new SparkPlan containing the distinct elements .