I have a table with each log entry as rows. I need to convert rows into columns for 7 days.I am trying to achieve this in hive.
Input:Id date row1 mar-21 1231 mar-22 12342 mar-21 2342 mar-22 3452 mar-23 4563 mar-21 789
Expected output:Id date1 row1 date2 row2 date3 row31 mar-22 1234 mar-21 123 null null2 mar-23 456 mar-22 345 mar-21 2343 mar-21 789 null null null null