I have a table in AWS Glue
, and the crawler has defined one field as array.
The content is in S3
files that have a json
format.
The table is TableA
, and the field is members
.
There are a lot of other fields such as strings, booleans, doubles, and even structs.
I am able to query them all using a simpel query such as:
SELECT
content.my_boolean,
content.my_string,
content.my_struct.value
FROM schema.tableA;
The issue is when I add content.members
into the query.
The error I get is: [Amazon](500310) Invalid operation: schema "content" does not exist.
Content
exists because i am able to select other fiels from the main key in the json (content).
Probably is something related with how to perform the query agains array field in Spectrum
.
Any idea?