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

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

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

Vikram Dixit K updated HIVE-10929:
----------------------------------
    Attachment: HIVE-10929.1.patch

Fix with test case.

> 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
>         Attachments: HIVE-10929.1.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)