Spark Sql Create Table As Select