data analysis using hive