You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Prasanth Jayachandran (JIRA)" <ji...@apache.org> on 2018/02/06 08:32:00 UTC

[jira] [Commented] (HIVE-18627) PPD: Handle FLOAT boxing differently for single/double precision constants

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

Prasanth Jayachandran commented on HIVE-18627:
----------------------------------------------

The logic looks good to me. Could you add test cases for these with/without CBO?

> PPD: Handle FLOAT boxing differently for single/double precision constants
> --------------------------------------------------------------------------
>
>                 Key: HIVE-18627
>                 URL: https://issues.apache.org/jira/browse/HIVE-18627
>             Project: Hive
>          Issue Type: Bug
>          Components: Types
>            Reporter: Gopal V
>            Assignee: Gopal V
>            Priority: Major
>         Attachments: HIVE-18627.1.patch
>
>
> Constants like 0.1 and 0.3 are differently boxed based on intermediate precision of the compiler codepath.
> Disabling CBO produces 0.1BD constants which fail to box correctly to Double/Float.
> Enabling CBO fixes this issue, but cannot be applied all queries in Hive.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)