I have hive tables with only single row and these tables can have different column names. I need a generic logic to convert such table into a map Ex:
temp1 col1 :