I have a table in hive A which is like
| ID | Code | Proc1 | Proc2 |
| i | A | B | C |
| i | 1 | 2 | 3 |
I want my output to be :
| i | A | 1 |
| i | B | 2 |
| i | C | 3 |
I have read a lot of other articles and figure out that there is no direct way to do transpose in hive. Any help would be appreciated.