You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Vikram Dixit K (JIRA)" <ji...@apache.org> on 2015/06/04 10:28:38 UTC

[jira] [Created] (HIVE-10929) In Tez mode,dynamic partitioning query with union all fails at moveTask,Invalid partition key & values

Vikram Dixit K created HIVE-10929:
-------------------------------------

             Summary: 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


{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)