[
https://issues.apache.org/jira/browse/HIVE-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647456#action_12647456
]
Ashish Thusoo commented on HIVE-62:
-----------------------------------
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.
e.g.
one cannot do
describe tab.c1.f1
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.
similarly
describe tab.c1.f1.__key.f2
and
describe tab.c1.f1.__value.f2
would be the corresponding things for the key and values parts of a map.
Thoughts?
> Add ability to describe nested types
> ------------------------------------
>
> Key: HIVE-62
> URL: https://issues.apache.org/jira/browse/HIVE-62
> Project: Hadoop Hive
> Issue Type: New Feature
> Reporter: Ashish Thusoo
> Assignee: Ashish Thusoo
>
> Add ability to describe nested types.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.