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] [Commented] (HIVE-9497) Implicit conversion between Varchar and Char should result in Varchar
Date Fri, 20 Feb 2015 23:26:13 GMT

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

Jason Dere commented on HIVE-9497:
----------------------------------

The logic in FunctionRegistry that determines implicit conversion/common type is a bit complicated.
I was thinking of replacing the logic in those methods with lookup tables for each type, which
might make it easier to see and change the implicit/common type behavior. This might be one
issue that could benefit from that.

> Implicit conversion between Varchar and Char should result in Varchar
> ---------------------------------------------------------------------
>
>                 Key: HIVE-9497
>                 URL: https://issues.apache.org/jira/browse/HIVE-9497
>             Project: Hive
>          Issue Type: New Feature
>            Reporter: Pavas Garg
>              Labels: Hive
>
> In situations where implicit conversion happen between varchar and char, the result should
be either varchar or char but not string.
> A string type result causes a major issue for SAS, an analytic application
> Varchar with bigger length should be the implicit conversion.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message