Spark Create Dataframe From Sql Query