How to query on array of struct column in AWS Athena? (parquet format)

Viewed 614

I have a array of struct column in table reports. (array<struct< key:string,value:string>>) the columns data look like

labels
---------------------------------------------------------------------------
[{key=name, value=cat}, {key=owner, value=meow}, {key=team, value=animal}]`
[]
[{key=name, value=leopard}]

How can I query this where I wanted to find records which has key=name and value=cat, and key=owner and value=meow. (i mean the first example).

1 Answers
Related