Data analysis using hive