In hive we can do a describe on the table to get the top level columns of the table. However, there is no way of describing the types within the column in the case when the column is an object.
one cannot do
to get field f1 of an object columns c1 of table tab.
the syntax is fairly straightforward for nested objects but becomes more complex for lists and maps.
So in order to inspect within the list we can do
describe tab.c1.f1.__elem.f2 where in __elem means that an element of the list f1 is being inspected.
would be the corresponding things for the key and values parts of a map.