Data Analysis Using Spark SQL and Hive