hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dere (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-5204) Change type compatibility methods to use PrimitiveCategory rather than TypeInfo
Date Wed, 04 Sep 2013 00:21:52 GMT

     [ https://issues.apache.org/jira/browse/HIVE-5204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Dere updated HIVE-5204:
-----------------------------

    Description: 
The type compatibility methods in the FunctionRegistry (getCommonClass, implicitConvertable)
compare TypeInfo objects directly when its doing its type compatibility logic. This won't
work as well with qualified types (varchar, char, decimal), because we will need different
TypeInfo objects to represent varchar(5) and varchar(10), and the equality comparisons won't
work anymore. We can change this logic to look at the PrimitiveCategory for the TypeInfo instead.

NO PRECOMMIT TESTS - dependent on changes in HIVE-5203

  was:The type compatibility methods in the FunctionRegistry (getCommonClass, implicitConvertable)
compare TypeInfo objects directly when its doing its type compatibility logic. This won't
work as well with qualified types (varchar, char, decimal), because we will need different
TypeInfo objects to represent varchar(5) and varchar(10), and the equality comparisons won't
work anymore. We can change this logic to look at the PrimitiveCategory for the TypeInfo instead.

    
> Change type compatibility methods to use PrimitiveCategory rather than TypeInfo
> -------------------------------------------------------------------------------
>
>                 Key: HIVE-5204
>                 URL: https://issues.apache.org/jira/browse/HIVE-5204
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Jason Dere
>            Assignee: Jason Dere
>
> The type compatibility methods in the FunctionRegistry (getCommonClass, implicitConvertable)
compare TypeInfo objects directly when its doing its type compatibility logic. This won't
work as well with qualified types (varchar, char, decimal), because we will need different
TypeInfo objects to represent varchar(5) and varchar(10), and the equality comparisons won't
work anymore. We can change this logic to look at the PrimitiveCategory for the TypeInfo instead.
> NO PRECOMMIT TESTS - dependent on changes in HIVE-5203

--
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

Mime
View raw message