You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Naveen Gangam (JIRA)" <ji...@apache.org> on 2016/11/18 15:28:58 UTC

[jira] [Created] (HIVE-15243) Inserting into a table partition fails if the table location has a '=' in the path.

Naveen Gangam created HIVE-15243:
------------------------------------

             Summary: Inserting into a table partition fails if the table location has a '=' in the path.
                 Key: HIVE-15243
                 URL: https://issues.apache.org/jira/browse/HIVE-15243
             Project: Hive
          Issue Type: Bug
          Components: Hive
    Affects Versions: 2.0.0
            Reporter: Naveen Gangam
            Assignee: Naveen Gangam


1) Create a table based on a location with '=' in it:
create table single_partition (name string)
partitioned by (Y string)
Location
'/user/hive/warehouse/single_partition/x=test';

2) insert some data into it (works fine):
INSERT INTO TABLE single_partition PARTITION (y='YPartition') VALUES ('myname');

3) set dynamic partitioning:
set hive.exec.dynamic.partition.mode=nonstrict;

4) try to read data from in and insert it back:
insert into table single_partition partition(Y)
select * from single_partition; 




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