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

Xuefu Zhang commented on HIVE-5206:
-----------------------------------

I think it might be a good idea to file a separate, followup JIRA addressing 
Ed's suggestion about unifying integers. I can see that there is a slight 
difference between different types of integers and other parameterized types. 
Existing integer types can be imaged to be integer type with the number of 
bytes as a parameter. However, the possible values for that parameter is 
enumerated and limited. It's hard to image that one day Hive will need to 
support int(3). For char/varchar/decimal, however, there are continuous values 
on the parameters.

Having said that, unifying integer types may make the code unify and add ease 
to understand. To me, it seems a nice thing to have.
                
> Support parameterized primitive types
> -------------------------------------
>
>                 Key: HIVE-5206
>                 URL: https://issues.apache.org/jira/browse/HIVE-5206
>             Project: Hive
>          Issue Type: Improvement
>          Components: Types
>            Reporter: Jason Dere
>            Assignee: Jason Dere
>         Attachments: HIVE-5206.1.patch, HIVE-5206.D12693.1.patch
>
>
> Support for parameterized types is needed for char/varchar/decimal support. 
> This adds a type parameters value to the 
> PrimitiveTypeEntry/PrimitiveTypeInfo/PrimitiveObjectInspector objects. 
> NO PRECOMMIT TESTS - dependent on HIVE-5203/HIVE-5204

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to