[ 
https://issues.apache.org/jira/browse/HIVE-495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710611#action_12710611
 ] 

Zheng Shao commented on HIVE-495:
---------------------------------

There are 3 approaches to fix this:

1. Use fully-blown map/struct/array format everywhere. In this solution, users 
will see the types of complex columns fully-blown instead of a java class, 
which may not be wanted.
2. Use 2 type strings: internal type string, and display type string. This will 
make sure users will see types of complex columns as before, but it makes the 
code more convoluted.
3. Make our TypeInfoParser capable of parsing Java class names. If the 
TypeInfoParser encounters a Java class name, it will use the 
ReflectionObjectInspector to get the fully-blown TypeInfo structure.

I am going to take approach 3.


> Join of a table with ThriftSerDe of complex columns will fail
> -------------------------------------------------------------
>
>                 Key: HIVE-495
>                 URL: https://issues.apache.org/jira/browse/HIVE-495
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>
> ThriftSerDe exposes its fields using java class names. LazySerDe requires 
> fully-blown map/struct/array format.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to