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

[jira] [Updated] (HIVE-17553) CBO wrongly type cast decimal literal to int

     [ https://issues.apache.org/jira/browse/HIVE-17553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vineet Garg updated HIVE-17553:
-------------------------------
    Fix Version/s: 3.0.0

> CBO wrongly type cast decimal literal to int
> --------------------------------------------
>
>                 Key: HIVE-17553
>                 URL: https://issues.apache.org/jira/browse/HIVE-17553
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Planning
>            Reporter: Vineet Garg
>            Assignee: Vineet Garg
>            Priority: Major
>             Fix For: 3.0.0
>
>         Attachments: HIVE-17553.1.patch, HIVE-17553.2.patch
>
>
> {code:sql}explain select 100.000BD from f{code}
> {noformat}
> STAGE PLANS:
>   Stage: Stage-0
>     Fetch Operator
>       limit: -1
>       Processor Tree:
>         TableScan
>           alias: f
>           Select Operator
>             expressions: 100 (type: int)
>             outputColumnNames: _col0
>             ListSink
> {noformat}
> Notice that the expression 100.000BD is of type int instead of decimal.



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