You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Navis (Assigned) (JIRA)" <ji...@apache.org> on 2012/03/30 09:56:36 UTC
[jira] [Assigned] (HIVE-2901) Hive union with NULL constant and
string in same column returns all null
[ https://issues.apache.org/jira/browse/HIVE-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Navis reassigned HIVE-2901:
---------------------------
Assignee: Navis
> Hive union with NULL constant and string in same column returns all null
> ------------------------------------------------------------------------
>
> Key: HIVE-2901
> URL: https://issues.apache.org/jira/browse/HIVE-2901
> Project: Hive
> Issue Type: Bug
> Reporter: Kevin Wilfong
> Assignee: Navis
> Priority: Critical
> Attachments: HIVE-2901.D2541.1.patch, HIVE-2901.D2541.2.patch
>
>
> select x from (select value as x from src union all select NULL as x from src)a;
> This query produces all nulls, where value is a string column.
> Notably,
> select x from (select key as x from src union all select NULL as x from src)a;
> where key is a string, but can be cast to a double, the query returns correct results.
--
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