You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Jason Dere (JIRA)" <ji...@apache.org> on 2017/03/01 19:47:45 UTC
[jira] [Commented] (HIVE-15818) Union of complex data types and
NULL
[ https://issues.apache.org/jira/browse/HIVE-15818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15890908#comment-15890908 ]
Jason Dere commented on HIVE-15818:
-----------------------------------
Is this solved by HIVE-16050?
> Union of complex data types and NULL
> ------------------------------------
>
> Key: HIVE-15818
> URL: https://issues.apache.org/jira/browse/HIVE-15818
> Project: Hive
> Issue Type: Bug
> Components: Parser, Types
> Reporter: Paras Sethia
>
> There is a possible bug in validation of union queries involving complex data types. The following query reproduces it:
> SELECT array(1, 2) a UNION ALL SELECT NULL;
> Error: Error while compiling statement: FAILED: SemanticException Schema of both sides of union should match: Column a is of type array<int> on first table and type void on second table. Cannot tell the position of null AST. (state=42000,code=40000)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)