I'm trying to explode records in multiple columns in Hive.
For example, if my dataset looks like this -
COL_01 COL_02 COL_03
1 A, B X, Y, Z
2 D, E, F V, W
I want this as the output -
COL_01 COL_02 COL_03
1 A X
1 B Y
1 NULL Z
2 D V
2 E W
2 F NULL
Is there a way to do this in Hive?
I saw some posts on exploding for a single column but not for multiple columns like in this case.