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

Ashish Thusoo commented on HIVE-65:
-----------------------------------

yes.

basically what I have done is move string to be at the bottom of the hierarchy 
and disallow the implicit conversion from number to string and some of the 
tests fail because of that as we need to change them to do explicit conversion 
now.

On looking at some of the test cases that fail, I think it would make sense to 
convert from various types to strings as well, though I had thought otherwise 
in the discussion that we had originally on the email thread. We have actually 
some queries in our tests that do that .e.g

concat('My total: ', sum(t.c))

A user could do that very easily to generate reporting strings with that kind 
of a sql. Without implict conversion, they would have to write a cast operator.

In light of that, I think we should revisit the decisions that we made.

Thoughts?

> Implict conversion from integer to long broken for Dynamic Serde tables
> -----------------------------------------------------------------------
>
>                 Key: HIVE-65
>                 URL: https://issues.apache.org/jira/browse/HIVE-65
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Ashish Thusoo
>            Assignee: Zheng Shao
>
> For a dynamic serde table that has a bigint column, implict conversion from 
> int to bigint seems to be broken. I have not verified this for other tables.

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