I have a hive table that looks like the following:
id | value
1 | ['0', '0', '1', '0', '1', '1', '0', '0']
2 | ['2', '0', '3', '0', '3', '1', '2', '1']
I want the result to be the following:
id | value
1 | [0,0,1,0,1,1,0,0]
2 | [2,0,3,0,3,1,2,1]
I need to convert them into an array of float so that I can use them in ST_Constains(ST_MultiPolygon(), st_point()) to determine if a point is in an area.
I am new to Hive, not sure if that is possible, any help would be very appreciated.