I have the input as mentioned below and output as mentioned below. May I know if any one has written transpose in hive.
Input:
id street seqnbr
100 nj 1
100 ca 2
100 ny 3
100 va 4
As per the sequence number , the street will go to st1, st2 respectively.
Output:
id st1 st2 st3 st4
100 nj ca ny va