Amazon web services – Remove duplicate record using Unnest | Aws Athena
I am facing issue while filtering data with array I have columns userid,event_name,attributes,ti Attributes column have value like this {"bool_sample":true,"array_int":[10,20,25,38],"array_string":["hello","world","i am fine"]} My query SELECT * FROM "events-data" CROSS JOIN UNNEST(CAST(json_extract(attributes, '$["array_int"]') AS array<int>)) AS t(val) WHERE val > 9;…