Spark Sql Vs Dataframe Performance