I have the following table -
ID , DATA
1 [{"key":"Apple", "value":2}, {"key":"Orange", "value":3}]
2 [{"key":"Apple", "value":5}, {"key":"Orange", "value":4}, {"key":"Cookie", "value":4}]
I'd like to build the following table :
Id, Apple, Orange, Cookie
1 2 3
2 5 4 4
Ive tried many combinations of parse_json and flatten but none seemed to support this structure.

