You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jason Dere (JIRA)" <ji...@apache.org> on 2014/10/08 04:21:34 UTC

[jira] [Updated] (HIVE-8391) Comparion between TIMESTAMP and Integer types goes to STRING as "common comparison denominator" instead of a numeric type

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

Jason Dere updated HIVE-8391:
-----------------------------
    Attachment: HIVE-8391.1.patch

I think this patch should address this issue - the common class between timestamp/numeric (up to double) will be treated as double. Are there any Hive scholars that can confirm that this is the correct behavior?

> Comparion between TIMESTAMP and Integer types goes to STRING as "common comparison denominator" instead of a numeric type
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-8391
>                 URL: https://issues.apache.org/jira/browse/HIVE-8391
>             Project: Hive
>          Issue Type: Bug
>          Components: CBO, Logical Optimizer
>    Affects Versions: 0.14.0
>            Reporter: Matt McCline
>            Assignee: Jason Dere
>            Priority: Critical
>             Fix For: 0.14.0
>
>         Attachments: HIVE-8391.1.patch
>
>
> Discovered while investigating why vectorization_7.q has different results for non-vectorized [+CBO] and vectorized [+CBO].



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)