You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org> on 2013/05/12 12:25:15 UTC

[jira] [Commented] (HIVE-4509) Integer division should be cast to double.

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

Jitendra Nath Pandey commented on HIVE-4509:
--------------------------------------------

Patch uploaded.
Review board entry: https://reviews.apache.org/r/11075/
                
> Integer division should be cast to double. 
> -------------------------------------------
>
>                 Key: HIVE-4509
>                 URL: https://issues.apache.org/jira/browse/HIVE-4509
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Jitendra Nath Pandey
>            Assignee: Jitendra Nath Pandey
>         Attachments: HIVE-4509.1.patch
>
>
> In current hive, the division always returns a double. Also, division by zero returns infinity following java semantics.

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