I have a column with arrays in it:
"subscriberPhoneNbrs" : [
{
"phoneType" : "HOM",
"phoneNbr" : "9045682704"
},
{
"phoneType" : "WRK",
"phoneNbr" : "9045749004"
}
]
I want to separate the array and give as different columns as below:
"subWorkPhone" : "9045682704",
"subHomePhone" : "9045749004",
Tried using explode function but I am not getting expected result.