Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
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.
Attachments
Attachments
Issue Links
- depends upon
-
HIVE-5203 FunctionRegistry.getMethodInternal() should prefer method arguments with closer affinity to the original argument types
- Closed
- is depended upon by
-
HIVE-5206 Support parameterized primitive types
- Closed
- is duplicated by
-
HIVE-6693 CASE with INT and BIGINT fail
- Resolved
- is part of
-
HIVE-4844 Add varchar data type
- Closed