hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (Updated) (JIRA)" <>
Subject [jira] [Updated] (HIVE-1237) select coalesce(null) from src dies
Date Fri, 21 Oct 2011 22:32:32 GMT


Ashutosh Chauhan updated HIVE-1237:

    Attachment: hive-1237_1.patch

I think for coalesce it makes sense to have atleast two arguments. It returns first non-null
of its argument. If there is zero argument there is nothing to return and if there is one
argument it has to return that whether its null or not. I updated the patch to throw exception
if there are less then two arguments.
> select coalesce(null) from src dies
> -----------------------------------
>                 Key: HIVE-1237
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Ashutosh Chauhan
>         Attachments: hive-1237.patch, hive-1237_1.patch
> select coalesce(null) from src ;
> FAILED: Unknown exception: null

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message