I want to parse a JSON with Hive.
I know the usual functions for parsing a JSON, but the problem is the structure of the JSON.
It has an indeterminate number of tracks.features
maybe 2, maybe 10, maybe 100 and I need to take the coordinates field.
Is it possible to do this on Hive?
This is the JSON:
{
"track":{
"features":[
{
"geometry":{
"coordinates":[
-3.7175826,
40.4342724997222
]
}
},
{
"geometry":{
"coordinates":[
-3.7170288,
40.4324255
]
}
}
]
}
}