hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szehon Ho (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HIVE-12070) Relax type restrictions on 'Greatest' and 'Least'
Date Fri, 16 Oct 2015 18:45:05 GMT

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

Szehon Ho resolved HIVE-12070.
------------------------------
    Resolution: Implemented

Resolved via HIVE-12082

> Relax type restrictions on 'Greatest' and 'Least'
> -------------------------------------------------
>
>                 Key: HIVE-12070
>                 URL: https://issues.apache.org/jira/browse/HIVE-12070
>             Project: Hive
>          Issue Type: Improvement
>          Components: UDF
>    Affects Versions: 1.1.1, 1.2.1
>            Reporter: Szehon Ho
>            Assignee: Szehon Ho
>
> Hive functions 'greatest' and 'least' have one of the strictest type restrictions of
any database.
> Experimented with other databases, Postgres and MySQL, all of them are much more relaxed.
 Tinyint (not in postgres), smallint, int, bigint, decimal, double, float can all be passed
to these functions without complaint.  In Hive, one cannot even do a greatest comparison between
int and bigint without hitting exception.
> This JIRA aims to relax the restriction and make it more akin to the other databases.



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

Mime
View raw message