You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (Updated) (JIRA)" <ji...@apache.org> on 2011/10/17 01:18:11 UTC

[jira] [Updated] (HIVE-1237) select coalesce(null) from src dies

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

Ashutosh Chauhan updated HIVE-1237:
-----------------------------------

    Attachment: hive-1237.patch

returnObjectInspector should always be created, otherwise will throw NPE as demonstrated here. Patch which does that. Also, included a test case which fails without patch but passes with the patch.
                
> select coalesce(null) from src dies
> -----------------------------------
>
>                 Key: HIVE-1237
>                 URL: https://issues.apache.org/jira/browse/HIVE-1237
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Namit Jain
>         Attachments: hive-1237.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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira