I have been using superset to query an external table through hive. This table has columns which are mostly of hive complex data types like the struct
.
How would I write a query in SQL LAB that does something like below?
SELECT header.guid
FROM table1
WHERE guid = 'xxxx'
where header
is of struct data type and guid
is a member of the header.
The problem as far as I can see is that pyhive maps the struct data types to string, although not sure how to get around it yet