changes for map implementation in hive