[ 
https://issues.apache.org/jira/browse/HIVE-10929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14579525#comment-14579525
 ] 

Vaibhav Gumashta commented on HIVE-10929:
-----------------------------------------

Also committed to branch-1.

> In Tez mode,dynamic partitioning query with union all fails at 
> moveTask,Invalid partition key & values
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-10929
>                 URL: https://issues.apache.org/jira/browse/HIVE-10929
>             Project: Hive
>          Issue Type: Bug
>          Components: Tez
>    Affects Versions: 1.2.0
>            Reporter: Vikram Dixit K
>            Assignee: Vikram Dixit K
>             Fix For: 1.3.0, 1.2.1, 2.0.0
>
>         Attachments: HIVE-10929.1.patch, HIVE-10929.2.patch, 
> HIVE-10929.3.patch, HIVE-10929.4.patch
>
>
> {code}
> create table dummy(i int);
> insert into table dummy values (1);
> select * from dummy;
> create table partunion1(id1 int) partitioned by (part1 string);
> set hive.exec.dynamic.partition.mode=nonstrict;
> set hive.execution.engine=tez;
> explain insert into table partunion1 partition(part1)
> select temps.* from (
> select 1 as id1, '2014' as part1 from dummy 
> union all 
> select 2 as id1, '2014' as part1 from dummy ) temps;
> insert into table partunion1 partition(part1)
> select temps.* from (
> select 1 as id1, '2014' as part1 from dummy 
> union all 
> select 2 as id1, '2014' as part1 from dummy ) temps;
> select * from partunion1;
> {code}
> fails.



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

Reply via email to