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

Hari Sankar Sivarama Subramaniyan commented on HIVE-5382:
---------------------------------------------------------

Hi Gunther,
Thanks for the review for addressing those issues.
It seems like e notation explicitly means 10^value.
I need to look more into how java language handles similar scenarios .
One question is why cant we directly use 'Double.valueOf(string)'  for this 
conversion as defined in 
http://developer.classpath.org/doc/java/lang/Double-source.html  Theoretically, 
it should tally with the results that we obtain if we cast one number type to 
another number type in Hive.

The bottom line is that the issues that Gunther addressed in RB need to be 
clearly understood and addressed before we can  merge in the change. This will 
be fixed by 0.13.

Thanks
Hari

> Allow strings represented as exponential notation to be typecasted to 
> int/smallint/bigint/tinyint
> -------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-5382
>                 URL: https://issues.apache.org/jira/browse/HIVE-5382
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Hari Sankar Sivarama Subramaniyan
>            Assignee: Hari Sankar Sivarama Subramaniyan
>         Attachments: HIVE-5382.1.patch
>
>
> Follow up jira for HIVE-5352



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to