Update queries.py
Update queries.py

method SQLContext.inferSchema() is deprecated after Spark 1.6.1, have replaced with createDataFrame()
DistrictDataLabs/spark-workshop,DistrictDataLabs/spark-workshop